YeeshaPageSolution = [ "A01", "A03", "A04", "A05", "A06", "B01", "B02", "B05", "B06", "C02", "C03", "C06", "D04", "D06", "E02", "E05", "E06", "F05", "G01", "G02", "G03", "G04", "G06", "H01", "H02", "H03", "H04" ] EggSolution = [ "A03", "A04", "B02", "B05", "C01", "C03", "C04", "C06", "D01", "D03", "D04", "D06", "E01", "E06", "F02", "F05", "G02", "G05", "H03", "H04" ] KveerSolution = [ "A01", "A05", "B02", "B05", "C01", "C04", "D03", "D06", "E03", "E05", "F01", "F03", "G01", "G03", "G05", "H02", "H05" ] States = xEnum.Enum("DoorOpen, DoorClosed, Rotated") CurrentState = States.DoorClosed class mystFireplace(ptModifier): def __init__(self): ptModifier.__init__(self) self.id = 5335 self.version = 3 PtDebugPrint("__init__MystFireplace v.", self.version) def OnServerInitComplete(self): ageSDL = PtGetAgeSDL() if strBookSDL.value != "":
kDown = 0 kUp = 1 kCameraReturn = 99 AgeStartedIn = None generatorPrimed = false scaleEngaged = false weightDirection = kDown weightNearUpEnd = false weightNearDownEnd = false weightSoundLoopingDown = false gearStopping = false gearStartingDown = false weightEngageDisabled = false TimerID = xEnum.Enum("UpElevatorSwitch, DownElevatorSwitch") # history # # version 4 big ole rewrite for new power sequence # version 5 robustness enhanced # ############################################################# # grsnPowerGearOn # ############################################################# class grsnPowerOn(ptResponder): # constants def __init__(self):
# seat clickables (so we can disable them while someone is sitting on them) seatButton1 = ptAttribActivator(210,"Seat 1 clickable") seatButton2 = ptAttribActivator(211,"Seat 2 clickable") seatButton3 = ptAttribActivator(212,"Seat 3 clickable") seatButton4 = ptAttribActivator(213,"Seat 4 clickable") seatButton5 = ptAttribActivator(214,"Seat 5 clickable") # light sounds (for win and turn on animations) respSeat1Sounds = ptAttribResponder(220,"Seat 1 sound resp", ['on','win'], netForce=1) respSeat2Sounds = ptAttribResponder(221,"Seat 2 sound resp", ['on','win'], netForce=1) respSeat3Sounds = ptAttribResponder(222,"Seat 3 sound resp", ['on','win'], netForce=1) respSeat4Sounds = ptAttribResponder(223,"Seat 4 sound resp", ['on','win'], netForce=1) respSeat5Sounds = ptAttribResponder(224,"Seat 5 sound resp", ['on','win'], netForce=1) VaultOp = xEnum.Enum("AddHeekScoreFolder") ############################################################## # nb01RPSGame ############################################################## class nb01RPSGame(ptResponder): "The RPS game mgr" def __init__(self): "construction" ptResponder.__init__(self) self.id = 20000 version = 9 self.version = version print "__init__nb01RPSGame v.", version
Mead, WA 99021 *==LICENSE==* """ # Plasma Engine. from Plasma import * from PlasmaTypes import * # Uru modules. import xEnum ## Number of items to scroll through in content list. kContentListScrollSize = 5 ## Waiting message for marker games. kMessageWait = xEnum.Enum("createMarker, changeMarkerName") ## Python component for the Jalak Age. kJalakPythonComponent = "cPythField" ## Keys to ignore (Escape, Enter, Space). kDefaultKeyIgnoreList = [10, 27, 32] # "New Item" alerts (flashing KI and Relto Book). kAlertTimeDefault = 10.0 kMaxBookAlertTime = 20.0 kAlertKIAlert = 60 kAlertBookAlert = 61 ## How many of our chat messages shall we log kMessageHistoryListMax = 50
## New stuff ## # 2) Set timer # 3) Play fadein/fadeout, link sound, add save point # 4) Get timer callback ## Old stuff ## # 5) Set timer # 6) Play hand glow, add JC, disable JC, etc. # 7) Get timer callback # 8) Reenable JC # globals LocalAvatar = None ClothInUse = 0 CAM_DIVIDER = "~" TimerID = xEnum.Enum("FadeOut, FadeIn, AddSavePoint, AddJCProgress") class xJourneyClothsGen2(ptModifier): "The Journey Cloth python code" def __init__(self): ptModifier.__init__(self) self.id = 5308 self.version = 8 PtDebugPrint("DEBUG: xJourneyClothsGen2.__init__: v.", self.version) def OnFirstUpdate(self): xRandom.seed() xRandom.setmaxseries(2)
InPanelView = 0 IgnorePanelClick = [] YeeshaPageSolution = [ 'A01', 'A03', 'A04', 'A05', 'A06', 'B01', 'B02', 'B05', 'B06', 'C02', 'C03', 'C06', 'D04', 'D06', 'E02', 'E05', 'E06', 'F05', 'G01', 'G02', 'G03', 'G04', 'G06', 'H01', 'H02', 'H03', 'H04' ] EggSolution = [ 'A03', 'A04', 'B02', 'B05', 'C01', 'C03', 'C04', 'C06', 'D01', 'D03', 'D04', 'D06', 'E01', 'E06', 'F02', 'F05', 'G02', 'G05', 'H03', 'H04' ] KveerSolution = [ 'A01', 'A05', 'B02', 'B05', 'C01', 'C04', 'D03', 'D06', 'E03', 'E05', 'F01', 'F03', 'G01', 'G03', 'G05', 'H02', 'H05' ] States = xEnum.Enum('DoorOpen, DoorClosed, Rotated') CurrentState = States.DoorClosed class mystFireplace(ptModifier): def __init__(self): ptModifier.__init__(self) self.id = 5335 self.version = 3 print '__init__MystFireplace v.', print self.version def OnServerInitComplete(self): ageSDL = PtGetAgeSDL() if (strBookSDL.value != ''): ageSDL.setFlags(strBookSDL.value, 1, 1)
respNoSignJC = ptAttribResponder(17, "No sign JC", ["1", "2"]) respNoBucketJC = ptAttribResponder(18, "No bucket JC", ["1", "2"]) respNoDoorJC = ptAttribResponder(19, "No door JC", ["1", "2"]) respDoorNotOpen = ptAttribResponder(20, "Tree door not opened", ["1", "2"]) respZandiSayings = ptAttribResponder(21, "Zandi sayings", [ "welcome", "dryheat", "pizza", "keepexploring", "interrupt", "steak", "welcome2" ]) actZandiClick = ptAttribActivator(22, "Zandi clickable") # globals IgnoreTime = 120 PageTurnInterval = 120 TimerID = xEnum.Enum("IgnoreFinished = 10, TurnPage") JC = xEnum.Enum("Trailer, Imager, Bedroom, Wahrk, Sign, Bucket, Door") jcDict = { JC.Trailer: 'c', JC.Imager: 'd', JC.Bedroom: 'e', JC.Wahrk: 'b', JC.Sign: 'a', JC.Bucket: 'g', JC.Door: 'f' } class clftNpcZandi(ptModifier): def __init__(self):
actCleftTotem = ptAttribActivator(48, "clk: Cleft totem") respTouchCleftTotem = ptAttribResponder(49, "resp: touch Cleft totem",netForce=1) respChangeCleftTotem = ptAttribResponder(50, "resp: change Cleft totem", ["open", "close"]) sdlCleftTotem = ptAttribString(51, "sdl: Cleft totem") respCleftHandGlow = ptAttribResponder(52, "resp: Cleft hand glow", ["1", "2", "3", "4", "5", "6", "7"],netForce=1) clickCleftBook = ptAttribActivator(53, "Cleft book clickable") respCleftLinkOut = ptAttribResponder(54, "Cleft link out",netForce=1) #globals boolCleftTotem = 0 kTimerCleftTotemClk = 42 #GotCleftBook = 0 boolCleftSolved = 0 kWriteTimestamps = 8 BahroPoles = xEnum.Enum("Teledahn = 1, Garrison, Garden, Kadish") HidingPoles = 0 # Bahro pole SDL variable states # 0: Initial state, no pole, hydrant up, sheath up, clicking hand changes to state 1 # Anim sheath down # 1: No pole, hydrant up, sheath down, clicking hand causes full glow # 2: After book has been used, No pole, hydrant up, sheath up, clicking hand causes progress glow # 3: Animate the hydrant down and proceed to state 4 # 4: All cloths have been found and pole was sent to psnl age, pole is there, hydrant down, clicking hand does nothing # 5: Anim all hydrants up and proceed to state 6 # 6: All poles in psnl age, pole is there, hydrant up, clicking hand plays full glow # 7: Anim fissure stuff # 8: Pole returned, no pole, hydrant up, clicking hand plays full glow # 9: Selfish person unreturned pole, no pole, hydrant up, clicking hand plays full glow