items.heritage 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /* License: CC0 */
  2. /* List of items */
  3. /* Items which are not defined here, but in rooms, will act in a very standard way */
  4. item(chair):
  5. on_examine: It's a simple desk chair.
  6. on_sit_on: I don't feel like sitting down...
  7. item(desk):
  8. on_examine: It is covered in Linux Live CD's, random hardware and a Julian Assange novel.
  9. item(paper):
  10. on_examine: It's a blank piece of paper.
  11. allow_take: true
  12. item(posters):
  13. on_examine: You see two posters, one for Battle of Britain Memorial, the other for Cloudkicker. Nice music.
  14. item(pen):
  15. on_examine: It's a cheap knock-off brand, but it still writes well enough.
  16. allow_take: true
  17. item(computer.1):
  18. on_examine: It must be ancient by now.
  19. on_use: It appears to not boot correctly. Maybe installing Gentoo wasn't such a good idea after all.
  20. item(monitor):
  21. on_examine: ERROR: Could not find /dev/mapper/root.
  22. item(door):
  23. on_examine: It's just a door, nothing special.
  24. item(note):
  25. on_examine: Mom, dad, I'm your daughter. None of this is your fault, and I don't want you to be angry or sad. I'll be staying over with a friend for a bit. I love you.
  26. item(computer.2):
  27. on_use: This is mom's computer, I really shouldn't use it.
  28. item(couch):
  29. on_examine: It's an old couch.
  30. on_sit_on: I don't feel like sitting down...
  31. item(tv):
  32. on_examine: It's a normal TV, not too young, not too old.
  33. on_turn_on: Why should I bother turning it on? There's never anything on anyway.
  34. item(doorbell):
  35. on_examine: It looks antique.
  36. on_ring: $(equals:door_bell_rang,0;You ring the doorbell and your friend opens the door. 'Come in', she says, before walking to the living room.#(door_bell_rang=1)#|There is no need to ring the doorbell again.)$
  37. /* Because these actions are related to the items so closely, we're putting them here for maintainability */
  38. item(friend.1):
  39. on_examine: She smiles at you.
  40. on_talk_to: "Have you told them yet?", she asks you.
  41. on_say_yes_to: She smiles at you.
  42. "You're worried, aren't you? Don't worry, hun, I'm sure it'll be fine", she says, pausing for a bit.
  43. "Let's go upstairs, play some games?", she asks invitingly, leaving the room before you can answer.
  44. #(friend_house_access=1)#
  45. action(say_yes):
  46. succeed: She smiles at you.
  47. "You're worried, aren't you? Don't worry, hun, I'm sure it'll be fine", she says, pausing for a bit.
  48. "Let's go upstairs, play some games?", she asks invitingly, leaving the room before you can answer.
  49. #(friend_house_access=1)#
  50. require_here: friend.1
  51. item(friend.2):
  52. on_examine: She smiles at you.
  53. on_say_goodbye_to: "Bye, hun! Take care!" #(said_goodbye_friend=1)#
  54. action(say_goodbye):
  55. succeed: "Bye, hun! Take care!" #(said_goodbye_friend=1)#
  56. require_here: friend.2
  57. item(computer.3):
  58. on_examine: It looks pretty fancy.