gamefic-sdk 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/html/core/engine.js +89 -0
- data/html/core/jquery.js +5 -0
- data/html/core/jquery.modal.css +44 -0
- data/html/core/jquery.modal.js +225 -0
- data/html/core/js.cookie.js +137 -0
- data/html/skins/hypertext/compass.png +0 -0
- data/html/skins/hypertext/index.html +151 -0
- data/html/skins/hypertext/style.css +74 -0
- data/html/skins/minimal/index.html.erb +22 -0
- data/html/skins/minimal/play.js +36 -0
- data/html/skins/minimal/style.css +8 -0
- data/html/skins/multimedia/close.png +0 -0
- data/html/skins/multimedia/index.html +179 -0
- data/html/skins/multimedia/mobile.css +10 -0
- data/html/skins/multimedia/spinner.gif +0 -0
- data/html/skins/multimedia/style.css +186 -0
- data/html/skins/standard/index.html.erb +23 -0
- data/html/skins/standard/play.js +68 -0
- data/html/skins/standard/style.css +70 -0
- data/lib/gamefic-sdk/version.rb +1 -1
- data/scripts/ansi.plot.rb +13 -0
- data/scripts/autosuggest.plot.rb +171 -0
- data/scripts/clothing.plot.rb +2 -0
- data/scripts/clothing/actions.plot.rb +4 -0
- data/scripts/clothing/actions/doff.plot.rb +12 -0
- data/scripts/clothing/actions/drop.plot.rb +8 -0
- data/scripts/clothing/actions/inventory.plot.rb +14 -0
- data/scripts/clothing/actions/wear.plot.rb +19 -0
- data/scripts/clothing/entities.plot.rb +7 -0
- data/scripts/clothing/entities/clothing.plot.rb +7 -0
- data/scripts/clothing/entities/coat.plot.rb +5 -0
- data/scripts/clothing/entities/gloves.plot.rb +5 -0
- data/scripts/clothing/entities/hat.plot.rb +5 -0
- data/scripts/clothing/entities/pants.plot.rb +5 -0
- data/scripts/clothing/entities/shirt.plot.rb +5 -0
- data/scripts/clothing/entities/shoes.plot.rb +5 -0
- data/scripts/cover.plot.rb +30 -0
- data/scripts/debug.plot.rb +0 -0
- data/scripts/edible.plot.rb +19 -0
- data/scripts/furniture.plot.rb +35 -0
- data/scripts/hints.plot.rb +31 -0
- data/scripts/hypertext.plot.rb +280 -0
- data/scripts/media.plot.rb +17 -0
- data/scripts/multimedia.plot.rb +41 -0
- data/scripts/questions.plot.rb +17 -0
- data/scripts/room-modes.plot.rb +48 -0
- data/scripts/rough-sizes.plot.rb +36 -0
- data/scripts/save-restore.plot.rb +21 -0
- data/scripts/snapshots.plot.rb +14 -0
- data/scripts/standard.plot.rb +12 -0
- data/scripts/standard/actions.plot.rb +23 -0
- data/scripts/standard/actions/close.plot.rb +16 -0
- data/scripts/standard/actions/drop.plot.rb +11 -0
- data/scripts/standard/actions/enter.plot.rb +31 -0
- data/scripts/standard/actions/give.plot.rb +26 -0
- data/scripts/standard/actions/go.plot.rb +81 -0
- data/scripts/standard/actions/insert.plot.rb +47 -0
- data/scripts/standard/actions/inventory.plot.rb +8 -0
- data/scripts/standard/actions/leave.plot.rb +41 -0
- data/scripts/standard/actions/lock.plot.rb +59 -0
- data/scripts/standard/actions/look-under.plot.rb +8 -0
- data/scripts/standard/actions/look.plot.rb +102 -0
- data/scripts/standard/actions/nil.plot.rb +35 -0
- data/scripts/standard/actions/open.plot.rb +34 -0
- data/scripts/standard/actions/place.plot.rb +36 -0
- data/scripts/standard/actions/quit.plot.rb +11 -0
- data/scripts/standard/actions/read.plot.rb +3 -0
- data/scripts/standard/actions/search.plot.rb +39 -0
- data/scripts/standard/actions/show.plot.rb +13 -0
- data/scripts/standard/actions/take.plot.rb +49 -0
- data/scripts/standard/actions/talk.plot.rb +31 -0
- data/scripts/standard/actions/unlock.plot.rb +77 -0
- data/scripts/standard/actions/use.plot.rb +25 -0
- data/scripts/standard/actions/wait.plot.rb +3 -0
- data/scripts/standard/entities.plot.rb +12 -0
- data/scripts/standard/entities/character.plot.rb +9 -0
- data/scripts/standard/entities/container.plot.rb +11 -0
- data/scripts/standard/entities/door.plot.rb +53 -0
- data/scripts/standard/entities/entity.plot.rb +13 -0
- data/scripts/standard/entities/exterior.plot.rb +5 -0
- data/scripts/standard/entities/fixture.plot.rb +3 -0
- data/scripts/standard/entities/item.plot.rb +5 -0
- data/scripts/standard/entities/portal.plot.rb +37 -0
- data/scripts/standard/entities/receptacle.plot.rb +4 -0
- data/scripts/standard/entities/room.plot.rb +47 -0
- data/scripts/standard/entities/rubble.plot.rb +11 -0
- data/scripts/standard/entities/scenery.plot.rb +5 -0
- data/scripts/standard/entities/supporter.plot.rb +10 -0
- data/scripts/standard/modules.plot.rb +11 -0
- data/scripts/standard/modules/attachable.plot.rb +11 -0
- data/scripts/standard/modules/auto_takes.plot.rb +50 -0
- data/scripts/standard/modules/darkenable.plot.rb +6 -0
- data/scripts/standard/modules/enterable.plot.rb +15 -0
- data/scripts/standard/modules/explicit_exits.plot.rb +15 -0
- data/scripts/standard/modules/itemizable.plot.rb +18 -0
- data/scripts/standard/modules/lockable.plot.rb +25 -0
- data/scripts/standard/modules/openable.plot.rb +9 -0
- data/scripts/standard/modules/parent-room.plot.rb +9 -0
- data/scripts/standard/modules/portable.plot.rb +6 -0
- data/scripts/standard/modules/transparent.plot.rb +6 -0
- data/scripts/standard/pathfinder.plot.rb +60 -0
- data/scripts/standard/plural.plot.rb +2 -0
- data/scripts/standard/plural/actions.plot.rb +4 -0
- data/scripts/standard/plural/actions/drop.plot.rb +126 -0
- data/scripts/standard/plural/actions/insert.plot.rb +68 -0
- data/scripts/standard/plural/actions/place.plot.rb +37 -0
- data/scripts/standard/plural/actions/take.plot.rb +175 -0
- data/scripts/standard/plural/queries.plot.rb +5 -0
- data/scripts/standard/plural/queries/ambiguous_visible.plot.rb +13 -0
- data/scripts/standard/plural/queries/any_expression.plot.rb +17 -0
- data/scripts/standard/plural/queries/many_visible.plot.rb +13 -0
- data/scripts/standard/plural/queries/not_expression.plot.rb +16 -0
- data/scripts/standard/plural/queries/plural_visible.plot.rb +22 -0
- data/scripts/standard/queries.plot.rb +4 -0
- data/scripts/standard/queries/from_expression.plot.rb +16 -0
- data/scripts/standard/queries/reachable.plot.rb +48 -0
- data/scripts/standard/queries/room.plot.rb +17 -0
- data/scripts/standard/queries/visible.plot.rb +45 -0
- data/scripts/standard/rules.plot.rb +1 -0
- data/scripts/standard/rules/has-enough-light.plot.rb +12 -0
- data/scripts/standard/test.plot.rb +8 -0
- data/scripts/standard/use.plot.rb +29 -0
- data/scripts/suggestible.plot.rb +42 -0
- data/scripts/undo.plot.rb +11 -0
- metadata +149 -25
@@ -0,0 +1,13 @@
|
|
1
|
+
script 'standard/plural/queries/many_visible'
|
2
|
+
|
3
|
+
class Gamefic::Query::AmbiguousVisible < Gamefic::Query::ManyVisible
|
4
|
+
def allow_ambiguous?
|
5
|
+
true
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
module Gamefic::Use
|
10
|
+
def self.ambiguous_visible *args
|
11
|
+
Gamefic::Query::AmbiguousVisible.new *args
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class Gamefic::Query::AnyExpression < Gamefic::Query::Expression
|
2
|
+
def initialize()
|
3
|
+
super(
|
4
|
+
/^(all|everything|every|anything|any|each|things|stuff)( (that|which) (is|are))?$/,
|
5
|
+
/^all of$/,
|
6
|
+
)
|
7
|
+
end
|
8
|
+
def signature
|
9
|
+
"#{self.class}"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Gamefic::Use
|
14
|
+
def self.any_expression
|
15
|
+
Gamefic::Query::AnyExpression.new
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class Gamefic::Query::NotExpression < Gamefic::Query::Expression
|
2
|
+
def initialize
|
3
|
+
super(
|
4
|
+
/^(all|everything|every|anything|any|each|things|stuff)( (that|which) (is|are))? not$/
|
5
|
+
)
|
6
|
+
end
|
7
|
+
def signature
|
8
|
+
"#{self.class}"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
module Gamefic::Use
|
13
|
+
def self.not_expression
|
14
|
+
Gamefic::Query::NotExpression.new
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
script 'standard/plural/queries/ambiguous_visible'
|
2
|
+
|
3
|
+
class Gamefic::Query::PluralVisible < Gamefic::Query::AmbiguousVisible
|
4
|
+
def execute(subject, description)
|
5
|
+
if (!description.end_with?("s") and !description.end_with?("i") and !description.end_with?("ae")) or (description.end_with?("ous") or description.end_with?("ess"))
|
6
|
+
return Gamefic::Query::Matches.new([], '', description)
|
7
|
+
end
|
8
|
+
super
|
9
|
+
end
|
10
|
+
def validate(subject, object)
|
11
|
+
# Plural queries always return false on validation. Their only purpose is
|
12
|
+
# to provide syntactic sugar for plural nouns, so it should never get triggered
|
13
|
+
# by a token call.
|
14
|
+
false
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Gamefic::Use
|
19
|
+
def self.plural_visible *args
|
20
|
+
Gamefic::Query::PluralVisible.new *args
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class Gamefic::Query::FromExpression < Gamefic::Query::Expression
|
2
|
+
def initialize
|
3
|
+
super(
|
4
|
+
/^(from|in|of|inside|on)$/
|
5
|
+
)
|
6
|
+
end
|
7
|
+
def signature
|
8
|
+
"#{self.class}"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
module Gamefic::Use
|
13
|
+
def self.from_expression
|
14
|
+
Gamefic::Query::FromExpression.new
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# This query filters for objects that the player might be able to handle or
|
2
|
+
# manipulate, including the following:
|
3
|
+
#
|
4
|
+
# * Siblings (other entities with the same parent)
|
5
|
+
# * The subject's children
|
6
|
+
# * Entities on reachable supporters
|
7
|
+
# * Entities in reachable open containers
|
8
|
+
# * Entities attached to reachable entities
|
9
|
+
#
|
10
|
+
# It excludes anything that may be visible but are not reachable:
|
11
|
+
# * Entities inside closed transparent containers
|
12
|
+
# * Entities that share the same room as the subject, but not the same parent.
|
13
|
+
|
14
|
+
module Gamefic::Query
|
15
|
+
class Reachable < Family
|
16
|
+
def context_from(subject)
|
17
|
+
array = super
|
18
|
+
if subject.parent.kind_of?(Container) || subject.parent.kind_of?(Supporter)
|
19
|
+
array.push subject.parent
|
20
|
+
end
|
21
|
+
if subject.parent != subject.room
|
22
|
+
array += subject.room.children
|
23
|
+
end
|
24
|
+
array.each { |thing|
|
25
|
+
if thing.kind_of?(Container)
|
26
|
+
if thing.open?
|
27
|
+
array += thing.children.that_are_not(:attached?)
|
28
|
+
end
|
29
|
+
elsif thing.kind_of?(Supporter) or thing.kind_of?(Receptacle) or thing == subject
|
30
|
+
array += thing.children.that_are_not(:attached?)
|
31
|
+
end
|
32
|
+
thing.children.that_are(:attached?).each { |att|
|
33
|
+
array.push att
|
34
|
+
if att.kind_of?(Supporter) or (att.kind_of?(Container) and att.open?)
|
35
|
+
array += att.children
|
36
|
+
end
|
37
|
+
}
|
38
|
+
}
|
39
|
+
array.uniq - [subject]
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
module Gamefic::Use
|
45
|
+
def self.reachable *args
|
46
|
+
Gamefic::Query::Reachable.new *args
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This query resolves to the subject's room, as opposed to the parent. It's
|
2
|
+
# useful for making sure you target the room instead of a container or a
|
3
|
+
# supporter.
|
4
|
+
|
5
|
+
module Gamefic::Query
|
6
|
+
class Room < Parent
|
7
|
+
def context_from(subject)
|
8
|
+
[subject.room]
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Gamefic::Use
|
14
|
+
def self.room *args
|
15
|
+
Gamefic::Query::Room.new *args
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# This query filters for objects that the player can see, regardless of
|
2
|
+
# whether they are reachable. It includes the following:
|
3
|
+
#
|
4
|
+
# * Siblings (other entities with the same parent)
|
5
|
+
# * The subject's children
|
6
|
+
# * Children of the subject's room (if room is not parent)
|
7
|
+
# * Entities on reachable supporters
|
8
|
+
# * Entities inside reachable open containers
|
9
|
+
# * Entities inside reachable transparent containers
|
10
|
+
# * Entities attached to reachable entities
|
11
|
+
|
12
|
+
module Gamefic::Query
|
13
|
+
class Visible < Family
|
14
|
+
def base_specificity
|
15
|
+
40
|
16
|
+
end
|
17
|
+
def context_from(subject)
|
18
|
+
array = super
|
19
|
+
array += subject.room.children
|
20
|
+
array.uniq!
|
21
|
+
array.each { |thing|
|
22
|
+
if thing.kind_of?(Container)
|
23
|
+
if thing.open? or thing.transparent?
|
24
|
+
array += thing.children.that_are_not(:attached?)
|
25
|
+
end
|
26
|
+
elsif thing.kind_of?(Supporter) or thing.kind_of?(Receptacle)
|
27
|
+
array += thing.children.that_are_not(:attached?)
|
28
|
+
end
|
29
|
+
thing.children.that_are(:attached?).each { |att|
|
30
|
+
array.push att
|
31
|
+
if att.kind_of?(Supporter) or (att.kind_of?(Container) and (att.open? or att.transparent?))
|
32
|
+
array += att.children.that_are_not(:attached?)
|
33
|
+
end
|
34
|
+
}
|
35
|
+
}
|
36
|
+
array - [subject]
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
module Gamefic::Use
|
42
|
+
def self.visible *args
|
43
|
+
Gamefic::Query::Visible.new *args
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
script 'standard/rules/has-enough-light'
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Gamefic::Use
|
2
|
+
def self.children *args
|
3
|
+
Gamefic::Query::Children.new *args
|
4
|
+
end
|
5
|
+
def self.family *args
|
6
|
+
Gamefic::Query::Family.new *args
|
7
|
+
end
|
8
|
+
def self.parent *args
|
9
|
+
Gamefic::Query::Parent.new *args
|
10
|
+
end
|
11
|
+
def self.siblings *args
|
12
|
+
Gamefic::Query::Siblings.new *args
|
13
|
+
end
|
14
|
+
def self.text *args
|
15
|
+
Gamefic::Query::Text.new *args
|
16
|
+
end
|
17
|
+
def self.expression *args
|
18
|
+
Gamefic::Query::Expression.new *args
|
19
|
+
end
|
20
|
+
def self.many_children *args
|
21
|
+
Gamefic::Query::ManyChildren.new *args
|
22
|
+
end
|
23
|
+
def self.ambiguous_children *args
|
24
|
+
Gamefic::Query::AmbiguousChildren.new *args
|
25
|
+
end
|
26
|
+
def self.plural_children *args
|
27
|
+
Gamefic::Query::PluralChildren.new *args
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module Gamefic::Suggestible
|
2
|
+
def suggestions
|
3
|
+
@suggestions ||= []
|
4
|
+
end
|
5
|
+
def suggestions= arr
|
6
|
+
@suggestions = arr
|
7
|
+
end
|
8
|
+
def suggest command
|
9
|
+
if !suggestions.include?(command)
|
10
|
+
suggestions.push command
|
11
|
+
end
|
12
|
+
end
|
13
|
+
def self.automatic?
|
14
|
+
if @automatic.nil?
|
15
|
+
@automatic = false
|
16
|
+
end
|
17
|
+
@automatic
|
18
|
+
end
|
19
|
+
def self.automatic= bool
|
20
|
+
@automatic = bool
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
class Gamefic::Character
|
25
|
+
include Suggestible
|
26
|
+
serialize :suggestions
|
27
|
+
end
|
28
|
+
|
29
|
+
on_update do
|
30
|
+
players.each { |player|
|
31
|
+
if Suggestible.automatic? and player.suggestions.length > 0
|
32
|
+
player.suggestions.each { |s|
|
33
|
+
player.stream "<a class=\"suggestion\" href=\"#\" rel=\"gamefic\" data-command=\"#{s.cap_first}\">#{s.cap_first}</a>"
|
34
|
+
}
|
35
|
+
end
|
36
|
+
#player.suggestions.clear
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
before_player_update do |player|
|
41
|
+
player.suggestions.clear
|
42
|
+
end
|
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gamefic-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Snyder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gamefic
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
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
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: opal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.7.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.7.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: slop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: poltergeist
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: Development tools for Gamefic
|
@@ -87,20 +87,12 @@ executables:
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- bin/gfk
|
91
|
-
- html/skins/minimal/index.rb
|
92
|
-
- html/skins/standard/index.rb
|
93
90
|
- lib/gamefic-sdk.rb
|
94
|
-
- lib/gamefic-sdk/
|
95
|
-
- lib/gamefic-sdk/
|
96
|
-
- lib/gamefic-sdk/debug/action.rb
|
97
|
-
- lib/gamefic-sdk/debug/plot.rb
|
98
|
-
- lib/gamefic-sdk/platform.rb
|
91
|
+
- lib/gamefic-sdk/platform/web/gamefic_opal.rb
|
92
|
+
- lib/gamefic-sdk/platform/web/app_config.rb
|
99
93
|
- lib/gamefic-sdk/platform/base.rb
|
100
94
|
- lib/gamefic-sdk/platform/gfic.rb
|
101
95
|
- lib/gamefic-sdk/platform/web.rb
|
102
|
-
- lib/gamefic-sdk/platform/web/app_config.rb
|
103
|
-
- lib/gamefic-sdk/platform/web/gamefic_opal.rb
|
104
96
|
- lib/gamefic-sdk/plot_config.rb
|
105
97
|
- lib/gamefic-sdk/shell.rb
|
106
98
|
- lib/gamefic-sdk/shell/command.rb
|
@@ -109,6 +101,137 @@ files:
|
|
109
101
|
- lib/gamefic-sdk/shell/command/init.rb
|
110
102
|
- lib/gamefic-sdk/shell/command/test.rb
|
111
103
|
- lib/gamefic-sdk/version.rb
|
104
|
+
- lib/gamefic-sdk/debug/action.rb
|
105
|
+
- lib/gamefic-sdk/debug/plot.rb
|
106
|
+
- lib/gamefic-sdk/build.rb
|
107
|
+
- lib/gamefic-sdk/debug.rb
|
108
|
+
- lib/gamefic-sdk/platform.rb
|
109
|
+
- html/core/jquery.js
|
110
|
+
- html/core/jquery.modal.css
|
111
|
+
- html/core/jquery.modal.js
|
112
|
+
- html/core/js.cookie.js
|
113
|
+
- html/core/engine.js
|
114
|
+
- html/skins/hypertext/compass.png
|
115
|
+
- html/skins/hypertext/style.css
|
116
|
+
- html/skins/hypertext/index.html
|
117
|
+
- html/skins/multimedia/close.png
|
118
|
+
- html/skins/multimedia/mobile.css
|
119
|
+
- html/skins/multimedia/spinner.gif
|
120
|
+
- html/skins/multimedia/style.css
|
121
|
+
- html/skins/multimedia/index.html
|
122
|
+
- html/skins/standard/index.html.erb
|
123
|
+
- html/skins/standard/style.css
|
124
|
+
- html/skins/standard/play.js
|
125
|
+
- html/skins/standard/index.rb
|
126
|
+
- html/skins/minimal/style.css
|
127
|
+
- html/skins/minimal/index.html.erb
|
128
|
+
- html/skins/minimal/play.js
|
129
|
+
- html/skins/minimal/index.rb
|
130
|
+
- scripts/clothing/actions/wear.plot.rb
|
131
|
+
- scripts/clothing/actions/inventory.plot.rb
|
132
|
+
- scripts/clothing/actions/drop.plot.rb
|
133
|
+
- scripts/clothing/actions/doff.plot.rb
|
134
|
+
- scripts/clothing/entities/shoes.plot.rb
|
135
|
+
- scripts/clothing/entities/shirt.plot.rb
|
136
|
+
- scripts/clothing/entities/pants.plot.rb
|
137
|
+
- scripts/clothing/entities/hat.plot.rb
|
138
|
+
- scripts/clothing/entities/gloves.plot.rb
|
139
|
+
- scripts/clothing/entities/coat.plot.rb
|
140
|
+
- scripts/clothing/entities/clothing.plot.rb
|
141
|
+
- scripts/clothing/actions.plot.rb
|
142
|
+
- scripts/clothing/entities.plot.rb
|
143
|
+
- scripts/standard/actions/unlock.plot.rb
|
144
|
+
- scripts/standard/actions/drop.plot.rb
|
145
|
+
- scripts/standard/actions/place.plot.rb
|
146
|
+
- scripts/standard/actions/wait.plot.rb
|
147
|
+
- scripts/standard/actions/read.plot.rb
|
148
|
+
- scripts/standard/actions/nil.plot.rb
|
149
|
+
- scripts/standard/actions/look-under.plot.rb
|
150
|
+
- scripts/standard/actions/close.plot.rb
|
151
|
+
- scripts/standard/actions/enter.plot.rb
|
152
|
+
- scripts/standard/actions/give.plot.rb
|
153
|
+
- scripts/standard/actions/go.plot.rb
|
154
|
+
- scripts/standard/actions/inventory.plot.rb
|
155
|
+
- scripts/standard/actions/leave.plot.rb
|
156
|
+
- scripts/standard/actions/lock.plot.rb
|
157
|
+
- scripts/standard/actions/look.plot.rb
|
158
|
+
- scripts/standard/actions/open.plot.rb
|
159
|
+
- scripts/standard/actions/search.plot.rb
|
160
|
+
- scripts/standard/actions/show.plot.rb
|
161
|
+
- scripts/standard/actions/talk.plot.rb
|
162
|
+
- scripts/standard/actions/use.plot.rb
|
163
|
+
- scripts/standard/actions/quit.plot.rb
|
164
|
+
- scripts/standard/actions/insert.plot.rb
|
165
|
+
- scripts/standard/actions/take.plot.rb
|
166
|
+
- scripts/standard/entities/fixture.plot.rb
|
167
|
+
- scripts/standard/entities/supporter.plot.rb
|
168
|
+
- scripts/standard/entities/scenery.plot.rb
|
169
|
+
- scripts/standard/entities/rubble.plot.rb
|
170
|
+
- scripts/standard/entities/room.plot.rb
|
171
|
+
- scripts/standard/entities/receptacle.plot.rb
|
172
|
+
- scripts/standard/entities/portal.plot.rb
|
173
|
+
- scripts/standard/entities/item.plot.rb
|
174
|
+
- scripts/standard/entities/exterior.plot.rb
|
175
|
+
- scripts/standard/entities/entity.plot.rb
|
176
|
+
- scripts/standard/entities/door.plot.rb
|
177
|
+
- scripts/standard/entities/container.plot.rb
|
178
|
+
- scripts/standard/entities/character.plot.rb
|
179
|
+
- scripts/standard/modules/transparent.plot.rb
|
180
|
+
- scripts/standard/modules/portable.plot.rb
|
181
|
+
- scripts/standard/modules/parent-room.plot.rb
|
182
|
+
- scripts/standard/modules/openable.plot.rb
|
183
|
+
- scripts/standard/modules/lockable.plot.rb
|
184
|
+
- scripts/standard/modules/itemizable.plot.rb
|
185
|
+
- scripts/standard/modules/explicit_exits.plot.rb
|
186
|
+
- scripts/standard/modules/enterable.plot.rb
|
187
|
+
- scripts/standard/modules/darkenable.plot.rb
|
188
|
+
- scripts/standard/modules/auto_takes.plot.rb
|
189
|
+
- scripts/standard/modules/attachable.plot.rb
|
190
|
+
- scripts/standard/queries/visible.plot.rb
|
191
|
+
- scripts/standard/queries/room.plot.rb
|
192
|
+
- scripts/standard/queries/reachable.plot.rb
|
193
|
+
- scripts/standard/queries/from_expression.plot.rb
|
194
|
+
- scripts/standard/rules/has-enough-light.plot.rb
|
195
|
+
- scripts/standard/actions.plot.rb
|
196
|
+
- scripts/standard/entities.plot.rb
|
197
|
+
- scripts/standard/modules.plot.rb
|
198
|
+
- scripts/standard/rules.plot.rb
|
199
|
+
- scripts/standard/use.plot.rb
|
200
|
+
- scripts/standard/pathfinder.plot.rb
|
201
|
+
- scripts/standard/test.plot.rb
|
202
|
+
- scripts/standard/plural.plot.rb
|
203
|
+
- scripts/standard/plural/actions.plot.rb
|
204
|
+
- scripts/standard/plural/actions/drop.plot.rb
|
205
|
+
- scripts/standard/plural/actions/insert.plot.rb
|
206
|
+
- scripts/standard/plural/actions/place.plot.rb
|
207
|
+
- scripts/standard/plural/actions/take.plot.rb
|
208
|
+
- scripts/standard/plural/queries.plot.rb
|
209
|
+
- scripts/standard/plural/queries/ambiguous_visible.plot.rb
|
210
|
+
- scripts/standard/plural/queries/any_expression.plot.rb
|
211
|
+
- scripts/standard/plural/queries/many_visible.plot.rb
|
212
|
+
- scripts/standard/plural/queries/not_expression.plot.rb
|
213
|
+
- scripts/standard/plural/queries/plural_visible.plot.rb
|
214
|
+
- scripts/standard/queries.plot.rb
|
215
|
+
- scripts/clothing.plot.rb
|
216
|
+
- scripts/debug.plot.rb
|
217
|
+
- scripts/media.plot.rb
|
218
|
+
- scripts/standard.plot.rb
|
219
|
+
- scripts/undo.plot.rb
|
220
|
+
- scripts/save-restore.plot.rb
|
221
|
+
- scripts/rough-sizes.plot.rb
|
222
|
+
- scripts/room-modes.plot.rb
|
223
|
+
- scripts/questions.plot.rb
|
224
|
+
- scripts/multimedia.plot.rb
|
225
|
+
- scripts/hypertext.plot.rb
|
226
|
+
- scripts/hints.plot.rb
|
227
|
+
- scripts/furniture.plot.rb
|
228
|
+
- scripts/edible.plot.rb
|
229
|
+
- scripts/ansi.plot.rb
|
230
|
+
- scripts/cover.plot.rb
|
231
|
+
- scripts/snapshots.plot.rb
|
232
|
+
- scripts/autosuggest.plot.rb
|
233
|
+
- scripts/suggestible.plot.rb
|
234
|
+
- bin/gfk
|
112
235
|
homepage: http://gamefic.com
|
113
236
|
licenses:
|
114
237
|
- MIT
|
@@ -119,18 +242,19 @@ require_paths:
|
|
119
242
|
- lib
|
120
243
|
required_ruby_version: !ruby/object:Gem::Requirement
|
121
244
|
requirements:
|
122
|
-
- -
|
245
|
+
- - '>='
|
123
246
|
- !ruby/object:Gem::Version
|
124
247
|
version: 1.9.3
|
125
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
249
|
requirements:
|
127
|
-
- -
|
250
|
+
- - '>='
|
128
251
|
- !ruby/object:Gem::Version
|
129
252
|
version: '0'
|
130
253
|
requirements: []
|
131
254
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.
|
255
|
+
rubygems_version: 2.0.14
|
133
256
|
signing_key:
|
134
257
|
specification_version: 4
|
135
258
|
summary: Gamefic SDK
|
136
259
|
test_files: []
|
260
|
+
has_rdoc:
|