Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Def.SmartObject.Add {
- ID = "Shower"
- Profession = ""
- Unlock = None
- BuildDuration = Rt.seconds 10.0
- BuildCost = 500
- SellingPrice = 300, Gt.weeks 1.0
- MaintenanceCost = NeedObjectMaintenance
- Icon = ""
- Type = None
- Cells = [
- RequireSpace {
- Tags = [Bathroom]
- Block = [Rect (0,0) (1,1)]
- Free = []
- }
- RequireWall (0, 0, ZPos)
- Activity {
- Transform = 0, -1, ZPos
- ID = "showering"
- Enter = ZPos, Rt.seconds 1.375
- Exit = Rt.seconds 1.5
- Effects = []
- ++ Condition.whileTraitBelow "Hygiene" 1.0
- ++ Effect.changeTrait "Hygiene" (Gt.perHour 8.0)
- ++ Effect.removeTrait "DirtyHands"
- Tags = ["IncreaseHygiene"]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment