Guest User

Untitled

a guest
Feb 21st, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
F# 0.85 KB | None | 0 0
  1. Def.SmartObject.Add {
  2.     ID = "Shower"
  3.     Profession = ""
  4.     Unlock = None
  5.     BuildDuration = Rt.seconds 10.0
  6.     BuildCost = 500
  7.     SellingPrice = 300, Gt.weeks 1.0
  8.     MaintenanceCost = NeedObjectMaintenance
  9.     Icon = ""
  10.     Type = None
  11.     Cells = [
  12.         RequireSpace {
  13.             Tags = [Bathroom]
  14.             Block = [Rect (0,0) (1,1)]
  15.             Free = []
  16.         }
  17.         RequireWall (0, 0, ZPos)
  18.         Activity {
  19.             Transform = 0, -1, ZPos
  20.             ID = "showering"
  21.             Enter = ZPos, Rt.seconds 1.375
  22.             Exit = Rt.seconds 1.5
  23.             Effects = []
  24.                 ++ Condition.whileTraitBelow "Hygiene" 1.0
  25.                 ++ Effect.changeTrait "Hygiene" (Gt.perHour 8.0)
  26.                 ++ Effect.removeTrait "DirtyHands"
  27.             Tags = ["IncreaseHygiene"]
  28.         }
  29.     ]    
  30. }
Advertisement
Add Comment
Please, Sign In to add comment