gamefic-sdk 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/html/core/engine.js +89 -20
  3. data/html/sinatra/engine.js +27 -13
  4. data/html/skins/hypertext/index.html +0 -2
  5. data/html/skins/standard/play.js +0 -66
  6. data/lib/gamefic-sdk.rb +2 -1
  7. data/lib/gamefic-sdk/build.rb +11 -19
  8. data/lib/gamefic-sdk/config.rb +126 -0
  9. data/lib/gamefic-sdk/platform.rb +12 -0
  10. data/lib/gamefic-sdk/platform/base.rb +35 -33
  11. data/lib/gamefic-sdk/platform/gfic.rb +5 -18
  12. data/lib/gamefic-sdk/platform/sinatra.rb +29 -31
  13. data/lib/gamefic-sdk/platform/web.rb +72 -65
  14. data/lib/gamefic-sdk/platform/web/app_config.rb +48 -48
  15. data/lib/gamefic-sdk/platform/web/engine.rb +10 -7
  16. data/lib/gamefic-sdk/platform/web/user.rb +3 -3
  17. data/lib/gamefic-sdk/server.rb +17 -19
  18. data/lib/gamefic-sdk/shell.rb +68 -16
  19. data/lib/gamefic-sdk/shell/init.rb +3 -19
  20. data/lib/gamefic-sdk/shell/test.rb +9 -14
  21. data/lib/gamefic-sdk/version.rb +1 -1
  22. data/scripts/save-restore-undo.plot.rb +25 -0
  23. data/scripts/snapshots.plot.rb +16 -14
  24. data/scripts/standard.plot.rb +3 -5
  25. data/scripts/standard/actions.plot.rb +1 -11
  26. data/scripts/standard/actions/drop.plot.rb +1 -1
  27. data/scripts/standard/actions/enter.plot.rb +4 -16
  28. data/scripts/standard/actions/go.plot.rb +2 -36
  29. data/scripts/standard/actions/insert.plot.rb +7 -21
  30. data/scripts/standard/actions/inventory.plot.rb +2 -1
  31. data/scripts/standard/actions/leave.plot.rb +7 -18
  32. data/scripts/standard/actions/look.plot.rb +45 -44
  33. data/scripts/standard/actions/nil.plot.rb +1 -1
  34. data/scripts/standard/actions/take.plot.rb +10 -28
  35. data/scripts/standard/actions/talk.plot.rb +9 -13
  36. data/scripts/standard/clothing.plot.rb +4 -0
  37. data/scripts/standard/clothing/actions.plot.rb +4 -0
  38. data/scripts/{clothing → standard/clothing}/actions/doff.plot.rb +0 -0
  39. data/scripts/{clothing → standard/clothing}/actions/drop.plot.rb +8 -8
  40. data/scripts/{clothing → standard/clothing}/actions/inventory.plot.rb +14 -14
  41. data/scripts/standard/clothing/actions/wear.plot.rb +20 -0
  42. data/scripts/standard/clothing/entities.plot.rb +7 -0
  43. data/scripts/{clothing → standard/clothing}/entities/clothing.plot.rb +0 -2
  44. data/scripts/standard/clothing/entities/coat.plot.rb +3 -0
  45. data/scripts/standard/clothing/entities/gloves.plot.rb +3 -0
  46. data/scripts/standard/clothing/entities/hat.plot.rb +3 -0
  47. data/scripts/standard/clothing/entities/pants.plot.rb +3 -0
  48. data/scripts/standard/clothing/entities/shirt.plot.rb +3 -0
  49. data/scripts/standard/clothing/entities/shoes.plot.rb +3 -0
  50. data/scripts/standard/container.plot.rb +28 -0
  51. data/scripts/{debug.plot.rb → standard/container/actions.plot.rb} +0 -0
  52. data/scripts/standard/container/entities.plot.rb +5 -0
  53. data/scripts/standard/direction.plot.rb +1 -2
  54. data/scripts/{edible.plot.rb → standard/edible.plot.rb} +5 -3
  55. data/scripts/standard/entities.plot.rb +3 -3
  56. data/scripts/standard/entities/character.plot.rb +9 -6
  57. data/scripts/standard/entities/fixture.plot.rb +1 -1
  58. data/scripts/standard/entities/item.plot.rb +2 -4
  59. data/scripts/standard/entities/portal.plot.rb +9 -5
  60. data/scripts/standard/entities/receptacle.plot.rb +1 -1
  61. data/scripts/standard/entities/room.plot.rb +5 -5
  62. data/scripts/standard/entities/scenery.plot.rb +2 -4
  63. data/scripts/standard/entities/supporter.plot.rb +4 -7
  64. data/scripts/standard/entities/thing.plot.rb +7 -0
  65. data/scripts/standard/{actions/give.plot.rb → give.plot.rb} +27 -25
  66. data/scripts/standard/lockable.plot.rb +79 -0
  67. data/scripts/standard/modules.plot.rb +2 -4
  68. data/scripts/standard/modules/attachable.plot.rb +1 -0
  69. data/scripts/standard/modules/locale_description.plot.rb +20 -0
  70. data/scripts/standard/{use.plot.rb → modules/use.plot.rb} +51 -47
  71. data/scripts/standard/openable.plot.rb +43 -0
  72. data/scripts/standard/pathfinder.plot.rb +11 -6
  73. data/scripts/standard/test.plot.rb +2 -0
  74. data/scripts/undo.plot.rb +13 -11
  75. metadata +30 -65
  76. data/lib/gamefic-sdk/plot_config.rb +0 -25
  77. data/scripts/ansi.plot.rb +0 -13
  78. data/scripts/autosuggest.plot.rb +0 -165
  79. data/scripts/clothing.plot.rb +0 -2
  80. data/scripts/clothing/actions.plot.rb +0 -4
  81. data/scripts/clothing/actions/wear.plot.rb +0 -19
  82. data/scripts/clothing/entities.plot.rb +0 -7
  83. data/scripts/clothing/entities/coat.plot.rb +0 -5
  84. data/scripts/clothing/entities/gloves.plot.rb +0 -5
  85. data/scripts/clothing/entities/hat.plot.rb +0 -5
  86. data/scripts/clothing/entities/pants.plot.rb +0 -5
  87. data/scripts/clothing/entities/shirt.plot.rb +0 -5
  88. data/scripts/clothing/entities/shoes.plot.rb +0 -5
  89. data/scripts/cover.plot.rb +0 -30
  90. data/scripts/furniture.plot.rb +0 -35
  91. data/scripts/hints.plot.rb +0 -31
  92. data/scripts/hypertext.plot.rb +0 -280
  93. data/scripts/media.plot.rb +0 -17
  94. data/scripts/multimedia.plot.rb +0 -41
  95. data/scripts/questions.plot.rb +0 -17
  96. data/scripts/room-modes.plot.rb +0 -48
  97. data/scripts/rough-sizes.plot.rb +0 -36
  98. data/scripts/save-restore.plot.rb +0 -22
  99. data/scripts/standard/actions/close.plot.rb +0 -16
  100. data/scripts/standard/actions/lock.plot.rb +0 -59
  101. data/scripts/standard/actions/look-under.plot.rb +0 -8
  102. data/scripts/standard/actions/open.plot.rb +0 -34
  103. data/scripts/standard/actions/read.plot.rb +0 -3
  104. data/scripts/standard/actions/search.plot.rb +0 -40
  105. data/scripts/standard/actions/show.plot.rb +0 -13
  106. data/scripts/standard/actions/unlock.plot.rb +0 -77
  107. data/scripts/standard/actions/use.plot.rb +0 -25
  108. data/scripts/standard/entities/container.plot.rb +0 -8
  109. data/scripts/standard/entities/door.plot.rb +0 -51
  110. data/scripts/standard/entities/entity.plot.rb +0 -12
  111. data/scripts/standard/entities/exterior.plot.rb +0 -5
  112. data/scripts/standard/modules/darkenable.plot.rb +0 -6
  113. data/scripts/standard/modules/lockable.plot.rb +0 -25
  114. data/scripts/standard/modules/openable.plot.rb +0 -15
  115. data/scripts/standard/modules/transparent.plot.rb +0 -6
  116. data/scripts/standard/plural.plot.rb +0 -2
  117. data/scripts/standard/plural/actions.plot.rb +0 -4
  118. data/scripts/standard/plural/actions/drop.plot.rb +0 -126
  119. data/scripts/standard/plural/actions/insert.plot.rb +0 -60
  120. data/scripts/standard/plural/actions/place.plot.rb +0 -37
  121. data/scripts/standard/plural/actions/take.plot.rb +0 -175
  122. data/scripts/standard/plural/queries.plot.rb +0 -5
  123. data/scripts/standard/plural/queries/ambiguous_visible.plot.rb +0 -13
  124. data/scripts/standard/plural/queries/any_expression.plot.rb +0 -17
  125. data/scripts/standard/plural/queries/many_visible.plot.rb +0 -13
  126. data/scripts/standard/plural/queries/not_expression.plot.rb +0 -16
  127. data/scripts/standard/plural/queries/plural_visible.plot.rb +0 -22
  128. data/scripts/suggestible.plot.rb +0 -54
@@ -0,0 +1,79 @@
1
+ # @gamefic.script standard/lockable
2
+
3
+ script 'standard/openable'
4
+
5
+ module Lockable
6
+ include Openable
7
+
8
+ attr_accessor :lock_key
9
+
10
+ def locked=(bool)
11
+ @locked = bool
12
+ if @locked == true
13
+ self.open = false
14
+ end
15
+ end
16
+
17
+ def open=(bool)
18
+ @open = bool
19
+ @locked = false if @open == true
20
+ end
21
+
22
+ def locked?
23
+ @locked ||= false
24
+ end
25
+
26
+ def has_lock_key?
27
+ !@lock_key.nil?
28
+ end
29
+ end
30
+
31
+ respond :lock, Use.available do |actor, thing|
32
+ actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.can + ' not'} lock #{the thing}."
33
+ end
34
+
35
+ respond :_toggle_lock, Use.available(Lockable, :has_lock_key?) do |actor, thing|
36
+ verb = thing.locked? ? 'unlock' : 'lock'
37
+ key = nil
38
+ if thing.lock_key.parent == actor
39
+ key = thing.lock_key
40
+ end
41
+ if key.nil?
42
+ actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.do + ' not'} have any way to #{verb} #{the thing}."
43
+ else
44
+ actor.tell "#{you.pronoun.Subj} #{you.verb['verb']} #{the thing} with #{the key}."
45
+ thing.locked = !thing.locked?
46
+ end
47
+ end
48
+
49
+ respond :lock, Use.available(Lockable, :has_lock_key?), Use.children do |actor, thing, key|
50
+ if thing.lock_key == key
51
+ actor.perform :_toggle_lock, thing
52
+ else
53
+ actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.can + ' not'} unlock #{the thing} with #{the key}."
54
+ end
55
+ end
56
+
57
+ respond :lock, Use.available(Lockable, :has_lock_key?), Use.available do |actor, thing, key|
58
+ actor.perform :take, key if key.parent != actor
59
+ actor.proceed if key.parent == actor
60
+ end
61
+
62
+ respond :unlock, Use.available do |actor, thing|
63
+ actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.can + ' not'} unlock #{the thing}."
64
+ end
65
+
66
+ respond :unlock, Use.available(Lockable, :has_lock_key?), Use.children do |actor, thing, key|
67
+ if thing.lock_key == key
68
+ actor.perform :_toggle_lock, thing
69
+ else
70
+ actor.tell "#{you.pronoun.Subj} #{you.contract you.verb.can + ' not'} unlock #{the thing} with #{the key}."
71
+ end
72
+ end
73
+
74
+ respond :unlock, Use.available(Lockable, :has_lock_key?), Use.available do |actor, thing, key|
75
+ actor.perform :take, key if key.parent != actor
76
+ actor.proceed if key.parent == actor
77
+ end
78
+
79
+ interpret "lock :container with :key", "lock :container :key"
@@ -1,11 +1,9 @@
1
+ script 'standard/modules/use'
1
2
  script 'standard/modules/attachable'
2
3
  script 'standard/modules/auto_takes'
3
- script 'standard/modules/darkenable'
4
4
  script 'standard/modules/enterable'
5
5
  script 'standard/modules/explicit_exits'
6
6
  script 'standard/modules/itemizable'
7
- script 'standard/modules/lockable'
8
- script 'standard/modules/openable'
9
7
  script 'standard/modules/parent-room'
10
8
  script 'standard/modules/portable'
11
- script 'standard/modules/transparent'
9
+ script 'standard/modules/locale_description'
@@ -5,6 +5,7 @@ module Attachable
5
5
  end
6
6
  @attached
7
7
  end
8
+
8
9
  def attached=(bool)
9
10
  @attached = bool
10
11
  end
@@ -0,0 +1,20 @@
1
+ # Add a locale description to entities.
2
+ # In the standard library, itemizing the contents of a room will display an
3
+ # entity's locale description instead of adding its name to a list.
4
+ #
5
+ # Example without locale descriptions:
6
+ # You are in a room.
7
+ # You see a book, a key, and a cup.
8
+ #
9
+ # Example with a locale description for the cup:
10
+ # You are in a room.
11
+ # You see a book and a key.
12
+ # A gold cup gleams in the candlelight.
13
+ #
14
+ module LocaleDescription
15
+ attr_writer :locale_description
16
+
17
+ def locale_description
18
+ @locale_description ||= ''
19
+ end
20
+ end
@@ -1,47 +1,51 @@
1
- module Gamefic::Use
2
- def self.children *args
3
- Gamefic::Query::Children.new *args
4
- end
5
-
6
- def self.family *args
7
- Gamefic::Query::Family.new *args
8
- end
9
-
10
- def self.parent *args
11
- Gamefic::Query::Parent.new *args
12
- end
13
-
14
- def self.siblings *args
15
- Gamefic::Query::Siblings.new *args
16
- end
17
-
18
- def self.text *args
19
- Gamefic::Query::Text.new *args
20
- end
21
-
22
- # @todo This query is a candidate for deprecation. It's probably not worth
23
- # the trouble to maintain a separate query just for transparent containers.
24
- #
25
- def self.visible *args
26
- Gamefic::Query::Family.new *args
27
- end
28
-
29
- # @todo This query is a candidate for deprecation. For now it's an alias for
30
- # Use.available.
31
- #
32
- def self.reachable *args
33
- Gamefic::Query::Available.new *args
34
- end
35
-
36
- def self.available *args
37
- Gamefic::Query::Available.new *args
38
- end
39
-
40
- def self.room *args
41
- Gamefic::Query::Room.new *args
42
- end
43
-
44
- def self.itself *args
45
- Gamefic::Query::Room.new *args
46
- end
47
- end
1
+ module Use
2
+ def self.children *args
3
+ Gamefic::Query::Children.new *args
4
+ end
5
+
6
+ def self.family *args
7
+ Gamefic::Query::Family.new *args
8
+ end
9
+
10
+ def self.parent *args
11
+ Gamefic::Query::Parent.new *args
12
+ end
13
+
14
+ def self.siblings *args
15
+ Gamefic::Query::Siblings.new *args
16
+ end
17
+
18
+ def self.text *args
19
+ Gamefic::Query::Text.new *args
20
+ end
21
+
22
+ # @todo This query is a candidate for deprecation. It's probably not worth
23
+ # the trouble to maintain a separate query just for transparent containers.
24
+ #
25
+ def self.visible *args
26
+ Gamefic::Query::Family.new *args
27
+ end
28
+
29
+ # @todo This query is a candidate for deprecation. For now it's an alias for
30
+ # Use.available.
31
+ #
32
+ def self.reachable *args
33
+ Gamefic::Query::Available.new *args
34
+ end
35
+
36
+ def self.available *args
37
+ Gamefic::Query::Available.new *args
38
+ end
39
+
40
+ def self.room *args
41
+ Gamefic::Query::Room.new *args
42
+ end
43
+
44
+ def self.itself *args
45
+ Gamefic::Query::Room.new *args
46
+ end
47
+
48
+ def self.from objects, *args
49
+ Gamefic::Query::External.new objects, *args
50
+ end
51
+ end
@@ -0,0 +1,43 @@
1
+ # @gamefic.script standard/openable
2
+
3
+ module Openable
4
+ attr_writer :openable
5
+ def open= bool
6
+ @open = bool
7
+ end
8
+ def open?
9
+ @open ||= false
10
+ end
11
+ def closed?
12
+ !open?
13
+ end
14
+ def accessible?
15
+ open?
16
+ end
17
+ end
18
+
19
+ respond :open, Use.available do |actor, thing|
20
+ actor.tell "You can't open #{the thing}."
21
+ end
22
+
23
+ respond :open, Use.available(Openable) do |actor, thing|
24
+ if thing.open?
25
+ actor.tell "#{The thing} is already open."
26
+ else
27
+ actor.tell "You open #{the thing}."
28
+ thing.open = true
29
+ end
30
+ end
31
+
32
+ respond :close, Use.available do |actor, thing|
33
+ actor.tell "You can't close #{the thing}."
34
+ end
35
+
36
+ respond :close, Use.available(Openable) do |actor, thing|
37
+ if thing.open?
38
+ actor.tell "You close #{the thing}."
39
+ thing.open = false
40
+ else
41
+ actor.tell "#{The thing} is already open."
42
+ end
43
+ end
@@ -1,9 +1,10 @@
1
- # Pathfinders provide the shortest route between two locations. The
2
- # destination needs to be accessible from the origin through portals. Note
3
- # that Pathfinders do not take into account portals that characters cannot
4
- # traverse, such as locked doors.
5
- #
6
- class Gamefic::Pathfinder
1
+ # @gamefic.script standard/pathfinder
2
+ # Pathfinders provide the shortest route between two locations. The
3
+ # destination needs to be accessible from the origin through portals. Note
4
+ # that Pathfinders do not take into account portals that characters should
5
+ # not be able to traverse, such as locked doors.
6
+
7
+ class Pathfinder
7
8
  # @return [Room]
8
9
  attr_reader :origin
9
10
  # @return [Room]
@@ -23,17 +24,21 @@ class Gamefic::Pathfinder
23
24
  end
24
25
  end
25
26
  end
27
+
26
28
  # @return [Array<Room>]
27
29
  def path
28
30
  # @path is nil if the path is invalid, but #path should return an empty
29
31
  # array instead.
30
32
  @path || []
31
33
  end
34
+
32
35
  # @return [Boolean]
33
36
  def valid?
34
37
  path.length > 0 or origin == destination
35
38
  end
39
+
36
40
  private
41
+
37
42
  def embark
38
43
  new_paths = []
39
44
  @paths.each { |path|
@@ -1,3 +1,5 @@
1
+ # @gamefic.script standard/test
2
+
1
3
  meta :test, Query::Text.new do |actor, name|
2
4
  sym = name.to_sym
3
5
  if test_procs[sym].nil?
data/scripts/undo.plot.rb CHANGED
@@ -1,11 +1,13 @@
1
- script 'snapshots'
2
-
3
- meta :undo do |actor|
4
- last = Snapshots.history.pop
5
- if last.nil?
6
- actor.tell "No previous turns are available."
7
- else
8
- restore last
9
- actor.tell "Previous turn undone."
10
- end
11
- end
1
+ # @gamefic.script undo
2
+
3
+ script 'snapshots'
4
+
5
+ meta :undo do |actor|
6
+ last = Snapshots.history.pop
7
+ if last.nil?
8
+ actor.tell "No previous turns are available."
9
+ else
10
+ restore last
11
+ actor.tell "Previous turn undone."
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gamefic-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-31 00:00:00.000000000 Z
11
+ date: 2017-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gamefic
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '1.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opal
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -158,6 +158,7 @@ files:
158
158
  - html/skins/standard/style.css
159
159
  - lib/gamefic-sdk.rb
160
160
  - lib/gamefic-sdk/build.rb
161
+ - lib/gamefic-sdk/config.rb
161
162
  - lib/gamefic-sdk/debug.rb
162
163
  - lib/gamefic-sdk/debug/action.rb
163
164
  - lib/gamefic-sdk/debug/plot.rb
@@ -169,73 +170,49 @@ files:
169
170
  - lib/gamefic-sdk/platform/web/app_config.rb
170
171
  - lib/gamefic-sdk/platform/web/engine.rb
171
172
  - lib/gamefic-sdk/platform/web/user.rb
172
- - lib/gamefic-sdk/plot_config.rb
173
173
  - lib/gamefic-sdk/server.rb
174
174
  - lib/gamefic-sdk/shell.rb
175
175
  - lib/gamefic-sdk/shell/init.rb
176
176
  - lib/gamefic-sdk/shell/test.rb
177
177
  - lib/gamefic-sdk/version.rb
178
- - scripts/ansi.plot.rb
179
- - scripts/autosuggest.plot.rb
180
- - scripts/clothing.plot.rb
181
- - scripts/clothing/actions.plot.rb
182
- - scripts/clothing/actions/doff.plot.rb
183
- - scripts/clothing/actions/drop.plot.rb
184
- - scripts/clothing/actions/inventory.plot.rb
185
- - scripts/clothing/actions/wear.plot.rb
186
- - scripts/clothing/entities.plot.rb
187
- - scripts/clothing/entities/clothing.plot.rb
188
- - scripts/clothing/entities/coat.plot.rb
189
- - scripts/clothing/entities/gloves.plot.rb
190
- - scripts/clothing/entities/hat.plot.rb
191
- - scripts/clothing/entities/pants.plot.rb
192
- - scripts/clothing/entities/shirt.plot.rb
193
- - scripts/clothing/entities/shoes.plot.rb
194
- - scripts/cover.plot.rb
195
- - scripts/debug.plot.rb
196
- - scripts/edible.plot.rb
197
- - scripts/furniture.plot.rb
198
- - scripts/hints.plot.rb
199
- - scripts/hypertext.plot.rb
200
- - scripts/media.plot.rb
201
- - scripts/multimedia.plot.rb
202
- - scripts/questions.plot.rb
203
- - scripts/room-modes.plot.rb
204
- - scripts/rough-sizes.plot.rb
205
- - scripts/save-restore.plot.rb
178
+ - scripts/save-restore-undo.plot.rb
206
179
  - scripts/snapshots.plot.rb
207
180
  - scripts/standard.plot.rb
208
181
  - scripts/standard/actions.plot.rb
209
- - scripts/standard/actions/close.plot.rb
210
182
  - scripts/standard/actions/drop.plot.rb
211
183
  - scripts/standard/actions/enter.plot.rb
212
- - scripts/standard/actions/give.plot.rb
213
184
  - scripts/standard/actions/go.plot.rb
214
185
  - scripts/standard/actions/insert.plot.rb
215
186
  - scripts/standard/actions/inventory.plot.rb
216
187
  - scripts/standard/actions/leave.plot.rb
217
- - scripts/standard/actions/lock.plot.rb
218
- - scripts/standard/actions/look-under.plot.rb
219
188
  - scripts/standard/actions/look.plot.rb
220
189
  - scripts/standard/actions/nil.plot.rb
221
- - scripts/standard/actions/open.plot.rb
222
190
  - scripts/standard/actions/place.plot.rb
223
191
  - scripts/standard/actions/quit.plot.rb
224
- - scripts/standard/actions/read.plot.rb
225
- - scripts/standard/actions/search.plot.rb
226
- - scripts/standard/actions/show.plot.rb
227
192
  - scripts/standard/actions/take.plot.rb
228
193
  - scripts/standard/actions/talk.plot.rb
229
- - scripts/standard/actions/unlock.plot.rb
230
- - scripts/standard/actions/use.plot.rb
231
194
  - scripts/standard/actions/wait.plot.rb
195
+ - scripts/standard/clothing.plot.rb
196
+ - scripts/standard/clothing/actions.plot.rb
197
+ - scripts/standard/clothing/actions/doff.plot.rb
198
+ - scripts/standard/clothing/actions/drop.plot.rb
199
+ - scripts/standard/clothing/actions/inventory.plot.rb
200
+ - scripts/standard/clothing/actions/wear.plot.rb
201
+ - scripts/standard/clothing/entities.plot.rb
202
+ - scripts/standard/clothing/entities/clothing.plot.rb
203
+ - scripts/standard/clothing/entities/coat.plot.rb
204
+ - scripts/standard/clothing/entities/gloves.plot.rb
205
+ - scripts/standard/clothing/entities/hat.plot.rb
206
+ - scripts/standard/clothing/entities/pants.plot.rb
207
+ - scripts/standard/clothing/entities/shirt.plot.rb
208
+ - scripts/standard/clothing/entities/shoes.plot.rb
209
+ - scripts/standard/container.plot.rb
210
+ - scripts/standard/container/actions.plot.rb
211
+ - scripts/standard/container/entities.plot.rb
232
212
  - scripts/standard/direction.plot.rb
213
+ - scripts/standard/edible.plot.rb
233
214
  - scripts/standard/entities.plot.rb
234
215
  - scripts/standard/entities/character.plot.rb
235
- - scripts/standard/entities/container.plot.rb
236
- - scripts/standard/entities/door.plot.rb
237
- - scripts/standard/entities/entity.plot.rb
238
- - scripts/standard/entities/exterior.plot.rb
239
216
  - scripts/standard/entities/fixture.plot.rb
240
217
  - scripts/standard/entities/item.plot.rb
241
218
  - scripts/standard/entities/portal.plot.rb
@@ -244,35 +221,23 @@ files:
244
221
  - scripts/standard/entities/rubble.plot.rb
245
222
  - scripts/standard/entities/scenery.plot.rb
246
223
  - scripts/standard/entities/supporter.plot.rb
224
+ - scripts/standard/entities/thing.plot.rb
225
+ - scripts/standard/give.plot.rb
226
+ - scripts/standard/lockable.plot.rb
247
227
  - scripts/standard/modules.plot.rb
248
228
  - scripts/standard/modules/attachable.plot.rb
249
229
  - scripts/standard/modules/auto_takes.plot.rb
250
- - scripts/standard/modules/darkenable.plot.rb
251
230
  - scripts/standard/modules/enterable.plot.rb
252
231
  - scripts/standard/modules/explicit_exits.plot.rb
253
232
  - scripts/standard/modules/itemizable.plot.rb
254
- - scripts/standard/modules/lockable.plot.rb
255
- - scripts/standard/modules/openable.plot.rb
233
+ - scripts/standard/modules/locale_description.plot.rb
256
234
  - scripts/standard/modules/parent-room.plot.rb
257
235
  - scripts/standard/modules/portable.plot.rb
258
- - scripts/standard/modules/transparent.plot.rb
236
+ - scripts/standard/modules/use.plot.rb
237
+ - scripts/standard/openable.plot.rb
259
238
  - scripts/standard/pathfinder.plot.rb
260
- - scripts/standard/plural.plot.rb
261
- - scripts/standard/plural/actions.plot.rb
262
- - scripts/standard/plural/actions/drop.plot.rb
263
- - scripts/standard/plural/actions/insert.plot.rb
264
- - scripts/standard/plural/actions/place.plot.rb
265
- - scripts/standard/plural/actions/take.plot.rb
266
- - scripts/standard/plural/queries.plot.rb
267
- - scripts/standard/plural/queries/ambiguous_visible.plot.rb
268
- - scripts/standard/plural/queries/any_expression.plot.rb
269
- - scripts/standard/plural/queries/many_visible.plot.rb
270
- - scripts/standard/plural/queries/not_expression.plot.rb
271
- - scripts/standard/plural/queries/plural_visible.plot.rb
272
239
  - scripts/standard/queries.plot.rb
273
240
  - scripts/standard/test.plot.rb
274
- - scripts/standard/use.plot.rb
275
- - scripts/suggestible.plot.rb
276
241
  - scripts/undo.plot.rb
277
242
  homepage: http://gamefic.com
278
243
  licenses: