ifmapper 0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. data/HISTORY.txt +2 -0
  2. data/IFMapper.gemspec +21 -0
  3. data/IFMapper.rb +27 -0
  4. data/icons/copy.png +0 -0
  5. data/icons/cut.png +0 -0
  6. data/icons/filenew.png +0 -0
  7. data/icons/fileopen.png +0 -0
  8. data/icons/filesave.png +0 -0
  9. data/icons/filesaveas.png +0 -0
  10. data/icons/help.png +0 -0
  11. data/icons/kill.png +0 -0
  12. data/icons/nextpage.png +0 -0
  13. data/icons/paste.png +0 -0
  14. data/icons/prevpage.png +0 -0
  15. data/icons/printicon.png +0 -0
  16. data/icons/redo.png +0 -0
  17. data/icons/saveas.png +0 -0
  18. data/icons/undo.png +0 -0
  19. data/icons/winapp.png +0 -0
  20. data/icons/zoom.png +0 -0
  21. data/lib/IFMapper/Connection.rb +63 -0
  22. data/lib/IFMapper/FXAboutDialogBox.rb +32 -0
  23. data/lib/IFMapper/FXConnection.rb +283 -0
  24. data/lib/IFMapper/FXConnectionDialogBox.rb +126 -0
  25. data/lib/IFMapper/FXMap.rb +1614 -0
  26. data/lib/IFMapper/FXMapDialogBox.rb +51 -0
  27. data/lib/IFMapper/FXMapFileDialog.rb +29 -0
  28. data/lib/IFMapper/FXMapperSettings.rb +45 -0
  29. data/lib/IFMapper/FXMapperWindow.rb +1051 -0
  30. data/lib/IFMapper/FXPage.rb +24 -0
  31. data/lib/IFMapper/FXPageDialogBox.rb +38 -0
  32. data/lib/IFMapper/FXRoom.rb +218 -0
  33. data/lib/IFMapper/FXRoomDialogBox.rb +119 -0
  34. data/lib/IFMapper/FXSearchDialogBox.rb +51 -0
  35. data/lib/IFMapper/FXSpline.rb +54 -0
  36. data/lib/IFMapper/FXWarningBox.rb +45 -0
  37. data/lib/IFMapper/IFMReader.rb +613 -0
  38. data/lib/IFMapper/Map.rb +110 -0
  39. data/lib/IFMapper/PDFMapExporter.rb +315 -0
  40. data/lib/IFMapper/Page.rb +158 -0
  41. data/lib/IFMapper/Room.rb +104 -0
  42. data/maps/Bureaucracy.ifm +75 -0
  43. data/maps/Hollywood_Hijinx.ifm +149 -0
  44. data/maps/Jigsaw.ifm +806 -0
  45. data/maps/LGOP.ifm +705 -0
  46. data/maps/Mercy.ifm +76 -0
  47. data/maps/Planetfall.ifm +186 -0
  48. data/maps/Plundered_Hearts.ifm +251 -0
  49. data/maps/Ralph.ifm +50 -0
  50. data/maps/Robots_of_Dawn.ifm +224 -0
  51. data/maps/Seastalker.ifm +149 -0
  52. data/maps/Sherlock.ifm +209 -0
  53. data/maps/SoFar.ifm +72 -0
  54. data/maps/Starcross.ifm +170 -0
  55. data/maps/Suspended.ifm +82 -0
  56. data/maps/Wishbringer.ifm +277 -0
  57. data/maps/Wishbringer2.ifm +246 -0
  58. data/maps/Zork1.ifm +410 -0
  59. data/maps/Zork2.ifm +150 -0
  60. data/maps/Zork3.ifm +136 -0
  61. data/maps/Zork_Zero.ifm +557 -0
  62. data/maps/anchor.ifm +645 -0
  63. data/maps/atrox.ifm +134 -0
  64. data/maps/awaken.ifm +116 -0
  65. data/maps/babel.ifm +279 -0
  66. data/maps/bse.ifm +150 -0
  67. data/maps/change.ifm +128 -0
  68. data/maps/curses.ifm +307 -0
  69. data/maps/curves.ifm +529 -0
  70. data/maps/edifice.ifm +158 -0
  71. data/maps/frozen.ifm +126 -0
  72. data/maps/glow.ifm +101 -0
  73. data/maps/library.ifm +93 -0
  74. data/maps/mindelec.ifm +89 -0
  75. data/maps/minster.ifm +234 -0
  76. data/maps/muse.ifm +154 -0
  77. data/maps/paperchase.ifm +110 -0
  78. data/maps/space_st.ifm +104 -0
  79. data/maps/stationfall.ifm +320 -0
  80. data/maps/theatre.ifm +182 -0
  81. data/maps/toonesia.ifm +54 -0
  82. data/maps/tortoise.ifm +72 -0
  83. data/maps/vgame.ifm +219 -0
  84. data/maps/weather.ifm +98 -0
  85. data/maps/windhall.ifm +154 -0
  86. data/maps/zebulon.ifm +68 -0
  87. metadata +144 -0
data/maps/weather.ifm ADDED
@@ -0,0 +1,98 @@
1
+ # IFM Map for "A Change in the Weather" by Andrew Plotkin
2
+ # Based on Release 6 / Serial number 960613
3
+ # This file writen by Dave Chapeskie <dchapes@ddm.crosswinds.net>
4
+ #
5
+ # $Id: weather.ifm,v 1.4 2003/01/11 21:29:21 dchapes Exp $
6
+ #
7
+ # Note: the recording output of IFM v2.0 ("-t -f rec") of this file was
8
+ # verified to work with the above mentioned release of the game
9
+ # with two excpetions (a) you must make sure the fox is around
10
+ # before throwing the spade shaft and (b) wait repeatedly before
11
+ # sleeping.
12
+
13
+ ########################################################################
14
+ title "A Change in the Weather";
15
+
16
+ room "Edge Of Meadow" exit w;
17
+ task "W" after Wake finish;
18
+ room "Stream Bank" tag Stream_Bank dir e;
19
+ task "fill bucket" tag Fill_bucket need bucket;
20
+ task "Drop torn bag" tag Drop_torn need torn_bag drop it;
21
+ task "Drop dirty bag" tag Drop_dirty need dirty_bag2 drop it;
22
+ task "wait" follow last note "until the fox 'yips'";
23
+ task "dig spot" after last;
24
+ task "again" follow last;
25
+ task "again" follow last note "until the beam erodes";
26
+ task "wedge branch under bridge" follow last need branch drop it;
27
+ task "dig spot" after last;
28
+ task "again" follow last;
29
+ task "again" tag Wake follow last note "until you awaken"
30
+ goto Small_Cave ;# give blanket;
31
+ room "Rocky Outlook" tag Outlook dir ne;
32
+ item "spade" tag spade;
33
+ task "pour water on mud" need bucket after Fill_bucket get spade
34
+ note "allows us to get the spade out";
35
+ room "Steep Face" tag Steep_Face dir se;
36
+ item "bush";
37
+ item "tree";
38
+ task "wedge spade in crack" tag Wedge_spade need spade lose it;
39
+ item "dirty canvas bag" tag dirty_bag2 hidden after Throw_dirty;
40
+ item "branch" tag branch hidden after Push_boulder;
41
+ room "Wildflowers" dir sw w link Stream_Bank exit w se;
42
+ item "tin bucket" tag bucket;
43
+ task "get glint" give bucket ;#note "turns out to be a tin bucket";
44
+
45
+ room "Near Top of Hill" dir e se from Outlook exit w;
46
+ item "boulder";
47
+ task "examine boulder" note "reveals cave";
48
+ task "move boulder with spade" tag Move_boulder after last need spade
49
+ give spade_shaft drop spade until Push_boulder;
50
+ item "spade shaft" tag spade_shaft hidden;
51
+ task "throw shaft" need spade_shaft # drop it
52
+ note "do this only when the fox is around";
53
+ task "again" follow last need spade_shaft lose it get steel_key
54
+ note "the fox returns a key this time";
55
+ item "steel key" tag steel_key hidden;
56
+ task "push boulder south" tag Push_boulder after sleep
57
+ note "or another direction";
58
+ room "Small Cave" tag Small_Cave dir e
59
+ style special after Move_boulder
60
+ cmd "enter cave" cmd from "W";
61
+ item "blanket" tag blanket;
62
+ task "wait";
63
+ task "again" follow last note "until it's dark and raining";
64
+ task "sleep" tag sleep follow last give blanket;
65
+
66
+ room "Edge of Bluff" tag Edge_of_Bluff dir s from Steep_Face exit se sw e
67
+ before Push_boulder;
68
+ link Steep_Face to Edge_of_Bluff after Wedge_spade hidden;
69
+ task "unlock door with key" tag UL_door need steel_key follow sleep;
70
+ task "throw dirty bag across gap" tag Throw_dirty
71
+ need dirty_bag lose it;
72
+ room "In a Small Shed" style special after UL_door dir e;
73
+ item "torn canvas bag" tag torn_bag
74
+ note "you can only see this when there is a lighting strike";
75
+ item "dirty canvas bag" tag dirty_bag
76
+ note "you can only see this when there is a lighting strike";
77
+
78
+
79
+
80
+ ########################################################################
81
+ # Modify some of the above to help IFM generate a workable walkthrough
82
+
83
+ # leave the blanket where it will stay dry
84
+ link Small_Cave leave blanket;
85
+
86
+ # drop the bag before pushing the boulder
87
+ task Push_boulder after Drop_torn;
88
+
89
+ # only get one bag at a time...
90
+ item dirty_bag after Push_boulder;
91
+
92
+ # get the branch when we get the dirty bag
93
+ #item branch after Throw_dirty;
94
+ # but... to make the walkthrough output save a turn
95
+ task "Get branch, dirty bag" after Throw_dirty give branch dirty_bag2
96
+ in Steep_Face;
97
+
98
+ # EOF
data/maps/windhall.ifm ADDED
@@ -0,0 +1,154 @@
1
+ ########################################################################
2
+ # IFM map for "Windhall Chronicles" by Jeff Cassidy and C.E.Forman
3
+ # This file written by Glenn Hutchings <zondo@hunting2.demon.co.uk>
4
+ #
5
+ # $Id: windhall.ifm,v 1.1 1998/09/18 12:37:51 dchapes Exp $
6
+ #
7
+ # Status: No tasks, map not yet complete, item notes
8
+ ########################################################################
9
+
10
+ title "Windhall Chronicles";
11
+
12
+ ########################################################################
13
+
14
+ room "Central Windhall" tag Central;
15
+
16
+ room "Sir Gunther's House" dir w;
17
+ item "Sir Gunther";
18
+ item "basket";
19
+
20
+ room "Baezil's Bakery" dir e from Central;
21
+ item "Baezil";
22
+ item "habba nuts" note "Give them to squirrel";
23
+ item "dough" note "Shape it into tube and roll";
24
+
25
+ room "Northern Windhall" dir n from Central tag Northern;
26
+
27
+ room "Creston's Shop" dir w;
28
+ item "Creston";
29
+ item "potion";
30
+
31
+ room "Kytan's Trading Post" dir n from Northern tag Kytan;
32
+ item "Kytan";
33
+ item "lamp";
34
+
35
+ room "Southern Windhall" dir s from Central tag Southern;
36
+
37
+ room "Borthur's Smithy" dir w;
38
+ item "Borthur" note "Ask him for money";
39
+ item "hammer";
40
+ item "piece of metal";
41
+
42
+ room "Mielon and Idah's House" dir e from Southern;
43
+ item "Mielon";
44
+ item "Idah" note "Ask her for twine";
45
+ item "twine";
46
+ item "laundry";
47
+
48
+ room "Old Cellar" dir n from Kytan go d tag Cellar;
49
+
50
+ room "Stack of Crates" dir sw;
51
+ item "loose crate";
52
+ item "wine bottle";
53
+
54
+ room "Rocky Cavern" dir w from Cellar;
55
+
56
+ room "Cave Entrance" dir sw;
57
+
58
+ room "Old Cave" dir s;
59
+ item "evil lord";
60
+
61
+ room "West of Swamp" dir e from Northern tag W_Swamp;
62
+
63
+ room "Shallow Swamp" dir e tag Shallows;
64
+
65
+ room "Deep Swamp" dir se;
66
+
67
+ room "Swampy Grasslands" dir s tag Grass;
68
+ item "blue stone" hidden;
69
+
70
+ room "Lyndra Lake 1" dir e tag LL1;
71
+
72
+ room "Ivy Coast 3" dir n link Grass tag IC3;
73
+ item "pelican";
74
+ item "worm";
75
+
76
+ room "South of Lake" dir se from Grass link LL1;
77
+
78
+ room "Lyndra Lake 2" dir ne;
79
+
80
+ room "Ivy Coast 2" dir n from IC3 tag IC2;
81
+
82
+ room "Ivy Coast 1" dir n tag IC1;
83
+ item "skeleton";
84
+
85
+ room "Mires" dir e from Shallows;
86
+ item "mire cat";
87
+
88
+ room "Near Lyndra River" dir ne from W_Swamp;
89
+
90
+ room "River Bridge" dir ne link IC1;
91
+
92
+ room "Small Hollow" dir ne;
93
+ item "Denvil";
94
+ item "wild flowers";
95
+
96
+ room "North of Forest" dir s from Southern tag N_Forest;
97
+
98
+ room "Forest Path" dir se tag Path;
99
+
100
+ room "Grassy Glen" dir e tag Glen;
101
+
102
+ room "Forest Bend" dir s from Path tag Bend;
103
+
104
+ room "Forest of Ansalon" dir e tag Forest;
105
+ item "squirrel" note "Give it the nuts";
106
+ item "green stone";
107
+
108
+ room "Cliffs of Mydar 2" dir se tag CM2;
109
+ item "elven bowman";
110
+
111
+ room "South of Forest" dir s from Forest link CM2 tag S_Forest;
112
+
113
+ room "Small Glen" dir se;
114
+ item "pedestal";
115
+
116
+ room "Rocky Plains" dir sw from Bend tag Plains;
117
+
118
+ room "Giant Tree" dir e from Glen tag Tree;
119
+
120
+ room "Nook" dir n go up;
121
+ item "nest";
122
+ item "eggs";
123
+
124
+ room "Small Field" dir e from Tree;
125
+ item "dead tree";
126
+
127
+ room "Abandoned Shed" dir e;
128
+
129
+ room "Cliffs of Mydar 1" dir sw link CM2 Tree;
130
+
131
+ room "Foothills" dir nw from Plains;
132
+ item "quarterstaff";
133
+
134
+ room "Small Plateau" dir s;
135
+
136
+ room "Mountain Base" dir s link Plains;
137
+ item "broken rock";
138
+
139
+ room "Mountain Path" dir sw;
140
+
141
+ room "Turning Path" dir e;
142
+ item "ogre";
143
+ item "werewolf";
144
+
145
+ room "Rolling Hills" dir sw from N_Forest;
146
+
147
+ room "Winding Path" dir nw;
148
+
149
+ room "Steep Incline" dir s;
150
+
151
+ room "Rocky Hill" dir s;
152
+ item "displacer beast";
153
+
154
+ ########################################################################
data/maps/zebulon.ifm ADDED
@@ -0,0 +1,68 @@
1
+ ########################################################################
2
+ # IFM map for "Uncle Zebulon's Will" by Magnus Olsson
3
+ # This file written by Glenn Hutchings <zondo@hunting2.demon.co.uk>
4
+ #
5
+ # $Id: zebulon.ifm,v 1.2 2003/01/11 21:29:21 dchapes Exp $
6
+ #
7
+ # Status: map complete, no tasks, item notes
8
+ ########################################################################
9
+
10
+ title "Uncle Zebulon's Will";
11
+
12
+ ########################################################################
13
+
14
+ room "Garden" tag Garden;
15
+
16
+ room "Shed" dir n tag Shed;
17
+ item "dog statue" note "Put lenses in it, turn left ear";
18
+ item "blue lens" note "In statue";
19
+ item "scrap of paper";
20
+
21
+ room "Porch" dir e from Garden;
22
+ item "demon" note "Only lets you pass with one item";
23
+ item "letter" note "Demon gives it to you" hidden;
24
+
25
+ room "Hall" dir e tag Hall;
26
+ item "lead coin" note "Throw it into basin";
27
+
28
+ room "Study" dir s;
29
+ item "book" note "Contains sheet of paper";
30
+ item "sheet of paper" note "Has cryptic poem" hidden;
31
+ item "crystal ball" note "Look in it";
32
+ item "green lens" note "In drawer" hidden;
33
+
34
+ room "Kitchen" dir n from Hall;
35
+ item "carrot" note "Point wand at it to get tomato";
36
+ item "tomato" note "Eat it to get copper coin";
37
+ item "copper coin" note "Throw it into basin" hidden;
38
+ item "cupboard" note "Contains blue bottle";
39
+ item "blue bottle" note "Contains silver coin" hidden;
40
+ item "silver coin" note "Put it into acid for iron coin" hidden;
41
+ item "iron coin" note "Throw it into basin" hidden;
42
+
43
+ room "Sitting Room" dir e from Hall;
44
+ item "green bottle" note "Sends items to blue bottle";
45
+ item "chair" note "Search it to find wand";
46
+ item "magic wand" note "Point it at carrot and mirror" hidden;
47
+ item "mirror" note "Point wand at it to dissolve";
48
+
49
+ room "Moor Gnittis" dir n n style special;
50
+ item "flask of acid" note "Change silver coin into iron coin";
51
+
52
+ room "Tower Room" dir w go up;
53
+ item "gold ball" note "Illuminate it with statue";
54
+ item "scroll";
55
+
56
+ room "Attic" dir se from Hall go up;
57
+ item "packing crate" note "Search it to find teak box";
58
+ item "teak box" note "Contains red lens" hidden;
59
+ item "red lens" note "In teak box" hidden;
60
+ item "brass plate" note "Has various signs on it";
61
+
62
+ room "Plain" dir n from Shed go down;
63
+ item "basin" note "Throw coins into it";
64
+ item "greek statues" note "They want the coins";
65
+
66
+ room "Desert" dir e style special;
67
+
68
+ ########################################################################
metadata ADDED
@@ -0,0 +1,144 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.8.10
3
+ specification_version: 1
4
+ name: ifmapper
5
+ version: !ruby/object:Gem::Version
6
+ version: "0.5"
7
+ date: 2005-08-12
8
+ summary: Interactive Fiction Mapping Tool.
9
+ require_paths:
10
+ - lib
11
+ email: GGarramuno@aol.com or ggarram@advance.dsl.com.ar
12
+ homepage: http://www.rubyforge.org/projects/ifmapper/
13
+ rubyforge_project: ifmapper
14
+ description: Interactive Fiction Mapping Tool.
15
+ autorequire:
16
+ default_executable:
17
+ bindir: bin
18
+ has_rdoc: true
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ -
22
+ - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 1.6.8
25
+ version:
26
+ platform: ruby
27
+ authors:
28
+ - Gonzalo Garramuno
29
+ files:
30
+ - IFMapper.rb
31
+ - lib/IFMapper/FXWarningBox.rb
32
+ - lib/IFMapper/Map.rb
33
+ - lib/IFMapper/Connection.rb
34
+ - lib/IFMapper/FXMapperSettings.rb
35
+ - lib/IFMapper/FXSpline.rb
36
+ - lib/IFMapper/FXMapDialogBox.rb
37
+ - lib/IFMapper/FXAboutDialogBox.rb
38
+ - lib/IFMapper/FXConnection.rb
39
+ - lib/IFMapper/FXPageDialogBox.rb
40
+ - lib/IFMapper/FXPage.rb
41
+ - lib/IFMapper/FXSearchDialogBox.rb
42
+ - lib/IFMapper/FXMapperWindow.rb
43
+ - lib/IFMapper/IFMReader.rb
44
+ - lib/IFMapper/FXMap.rb
45
+ - lib/IFMapper/FXRoom.rb
46
+ - lib/IFMapper/Page.rb
47
+ - lib/IFMapper/FXMapFileDialog.rb
48
+ - lib/IFMapper/Room.rb
49
+ - lib/IFMapper/PDFMapExporter.rb
50
+ - lib/IFMapper/FXRoomDialogBox.rb
51
+ - lib/IFMapper/FXConnectionDialogBox.rb
52
+ - maps/Zork_Zero.ifm
53
+ - maps/anchor.ifm
54
+ - maps/atrox.ifm
55
+ - maps/awaken.ifm
56
+ - maps/babel.ifm
57
+ - maps/bse.ifm
58
+ - maps/Bureaucracy.ifm
59
+ - maps/change.ifm
60
+ - maps/curses.ifm
61
+ - maps/curves.ifm
62
+ - maps/edifice.ifm
63
+ - maps/frozen.ifm
64
+ - maps/glow.ifm
65
+ - maps/Hollywood_Hijinx.ifm
66
+ - maps/Jigsaw.ifm
67
+ - maps/LGOP.ifm
68
+ - maps/library.ifm
69
+ - maps/Mercy.ifm
70
+ - maps/mindelec.ifm
71
+ - maps/minster.ifm
72
+ - maps/muse.ifm
73
+ - maps/paperchase.ifm
74
+ - maps/Planetfall.ifm
75
+ - maps/Plundered_Hearts.ifm
76
+ - maps/Ralph.ifm
77
+ - maps/Robots_of_Dawn.ifm
78
+ - maps/Seastalker.ifm
79
+ - maps/Sherlock.ifm
80
+ - maps/SoFar.ifm
81
+ - maps/space_st.ifm
82
+ - maps/Starcross.ifm
83
+ - maps/stationfall.ifm
84
+ - maps/Suspended.ifm
85
+ - maps/theatre.ifm
86
+ - maps/toonesia.ifm
87
+ - maps/tortoise.ifm
88
+ - maps/vgame.ifm
89
+ - maps/weather.ifm
90
+ - maps/windhall.ifm
91
+ - maps/Wishbringer2.ifm
92
+ - maps/Wishbringer.ifm
93
+ - maps/zebulon.ifm
94
+ - maps/Zork1.ifm
95
+ - maps/Zork2.ifm
96
+ - maps/Zork3.ifm
97
+ - icons/filenew.png
98
+ - icons/fileopen.png
99
+ - icons/filesave.png
100
+ - icons/filesaveas.png
101
+ - icons/cut.png
102
+ - icons/copy.png
103
+ - icons/paste.png
104
+ - icons/help.png
105
+ - icons/kill.png
106
+ - icons/redo.png
107
+ - icons/saveas.png
108
+ - icons/undo.png
109
+ - icons/zoom.png
110
+ - icons/winapp.png
111
+ - icons/printicon.png
112
+ - icons/prevpage.png
113
+ - icons/nextpage.png
114
+ - HISTORY.txt
115
+ - IFMapper.gemspec
116
+ test_files: []
117
+ rdoc_options: []
118
+ extra_rdoc_files:
119
+ - HISTORY.txt
120
+ - IFMapper.gemspec
121
+ executables: []
122
+ extensions: []
123
+ requirements: []
124
+ dependencies:
125
+ - !ruby/object:Gem::Dependency
126
+ name: fxruby
127
+ version_requirement:
128
+ version_requirements: !ruby/object:Gem::Version::Requirement
129
+ requirements:
130
+ -
131
+ - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 1.2.6
134
+ version:
135
+ - !ruby/object:Gem::Dependency
136
+ name: pdf-writer
137
+ version_requirement:
138
+ version_requirements: !ruby/object:Gem::Version::Requirement
139
+ requirements:
140
+ -
141
+ - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: 1.1.1
144
+ version: