Skip to content

Commit 110611d

Browse files
committed
Bugfixes for minor glitches related to dungeon look and magic item search.
1 parent 0eb3c0b commit 110611d

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,10 @@ Design Notes
157157
Minima is mostly data-driven. It uses a JSON data structure to define the people,
158158
creatures, and objects, and another JSON data structure to define all the maps and
159159
dungeons. Command sequencing uses coroutines in order to avoid overly-complicated
160-
state machines. The "Minima Engine" could be reused for another game without having
160+
state machines. The "Minima Engine" can be reused for another game without having
161161
to modify too much code; if the target game is in a similar world to Miskatonia, not
162-
much more than the victory conditions would need to be changed on the code side.
162+
much more than the victory conditions would need to be changed on the code side. As
163+
of this writing, at least one other game makes use of the Minima Engine.
163164

164165
Other Notes
165166
-----------

minima.p8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ function inputprocessor(cmd)
601601
signcontents=check_sign(xcoord,ycoord)
602602
if signcontents then
603603
response={"read sign",signcontents}
604-
elseif xcoord==1 and ycoord==38 and hero.dmg<50 then
604+
elseif xcoord==1 and ycoord==38 and hero.dmg<40 then
605605
-- search response
606606
response[2]="you find the magic sword!"
607607
hero.dmg=40
@@ -982,7 +982,7 @@ function look_results(ldir,xcoord,ycoord)
982982
elseif content then
983983
update_lines{cmd,content.n}
984984
elseif curmap.dg then
985-
update_lines{cmd,getdungeonblk(xcoord,ycoord,hero.z)==20 and 'passage' or 'wall',1}
985+
update_lines{cmd,getdungeonblk(xcoord,ycoord,hero.z)<1 and 'passage' or 'wall'}
986986
else
987987
update_lines{cmd,terrains[mget(xcoord,ycoord)]}
988988
end

minima.p8.png

-108 Bytes
Loading

release-to-itch.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
#! /bin/bash
22

3-
# This should be run from a folder that contains three folders:
4-
# minima-linux/ minima-ms-win/ minima-osx/
3+
# This should be run from a folder that contains four folders:
4+
# minima-linux/ minima-ms-win/ minima-osx/ minima-raspi/
55
# that each contain the contents of the PICO-8 binary export for the
66
# appropriate platform plus a docs folder with all supported Minima
77
# Manual formats.
88

9-
butler push minima-linux feneric/minima:minima-linux --userversion 1.1.1
10-
butler push minima-osx feneric/minima:minima-osx --userversion 1.1.1
11-
butler push minima-ms-win feneric/minima:minima-ms-win --userversion 1.1.1
9+
butler push minima-linux feneric/minima:minima-linux --userversion 1.1.2
10+
butler push minima-osx feneric/minima:minima-osx --userversion 1.1.2
11+
butler push minima-ms-win feneric/minima:minima-ms-win --userversion 1.1.2
12+
butler push minima-raspi feneric/minima:minima-raspi --userversion 1.1.2
1213
butler status feneric/minima:minima-linux
1314
butler status feneric/minima:minima-osx
1415
butler status feneric/minima:minima-ms-win
16+
butler status feneric/minima:minima-raspi
1517

0 commit comments

Comments
 (0)