* Dont ensure ItemComp because it could lead to weirds, and also PickupOrDrop handles non-items already.
* presents and tree
* woops
* reviews a
var coords = Transform(args.User).Coordinates;
var handsEnt = Spawn(component.SelectedEntity, coords);
_adminLogger.Add(LogType.EntitySpawn, LogImpact.Low, $"{ToPrettyString(args.User)} used {ToPrettyString(uid)} which spawned {ToPrettyString(handsEnt)}");
- EnsureComp<ItemComponent>(handsEnt); // For insane mode.
if (component.Wrapper is not null)
Spawn(component.Wrapper, coords);
- type: entity
parent: BaseTreeConifer
id: FloraTreeChristmas02
- suffix: PresentsGiver
+ suffix: Safe Presents
name: christmas tree
components:
- type: Sprite
spawnEntries:
- id: PresentRandom
orGroup: present
- - id: PresentRandomCash
- prob: 0.20
+ - id: PresentRandomCash # buy your own.
+ prob: 0.1
orGroup: present
- - id: PresentRandomAsh
+ - id: PresentRandomCoal # naughty
prob: 0.05
orGroup: present
receivedPopup: christmas-tree-got-gift
deniedPopup: christmas-tree-no-gift
requiredHoliday: FestiveSeason
+- type: entity
+ parent: FloraTreeChristmas02
+ id: FloraTreeChristmas03
+ suffix: Insane Presents
+ name: christmas tree
+ components:
+ - type: LimitedItemGiver
+ spawnEntries:
+ - id: PresentRandom
+ orGroup: present
+ - id: PresentRandomUnsafe
+ prob: 0.5
+ orGroup: present
+ - id: PresentRandomInsane
+ prob: 0.2
+ orGroup: present
+
- type: entity
parent: BaseTreeConifer
id: FloraTreeStumpConifer
path: /Audio/Effects/unwrap.ogg
- type: entity
- id: PresentRandomAsh
+ id: PresentRandomCoal
parent: [PresentBase, BaseItem]
- suffix: Filled Ash
+ suffix: Filled Coal
components:
- type: SpawnItemsOnUse
items:
- id: PresentTrash
- - id: Ash # No coal yet!
+ - id: Coal1
+ orGroup: GiftPool
+ - id: Coal5
+ prob: .4
+ orGroup: GiftPool
+ - id: Coal10
+ prob: .2
+ orGroup: GiftPool
+ - id: Coal15
+ prob: .1
orGroup: GiftPool
sound:
path: /Audio/Effects/unwrap.ogg
- type: Stack
count: 1
+- type: entity
+ parent: Coal
+ id: Coal5
+ suffix: Five
+ components:
+ - type: Stack
+ count: 5
+
+- type: entity
+ parent: Coal
+ id: Coal10
+ suffix: Ten
+ components:
+ - type: Stack
+ count: 10
+
+- type: entity
+ parent: Coal
+ id: Coal15
+ suffix: Fifteen
+ components:
+ - type: Stack
+ count: 15
+
- type: entity
parent: OreBase
id: SaltOre
HeadBorgJanitor: LightHeadBorg
TorsoBorgJanitor: TorsoBorg
+# 2024-11-17
+PresentRandomAsh: PresentRandomCoal
# 2024-11-19
CrateCrewMonitoringBoards: CrateCrewMonitoring