Skip to content

Commit

Permalink
Bugfixes for minor glitches related to dungeon look and magic item se…
Browse files Browse the repository at this point in the history
…arch.
  • Loading branch information
Feneric committed Jul 14, 2019
1 parent 0eb3c0b commit 110611d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ Design Notes
Minima is mostly data-driven. It uses a JSON data structure to define the people,
creatures, and objects, and another JSON data structure to define all the maps and
dungeons. Command sequencing uses coroutines in order to avoid overly-complicated
state machines. The "Minima Engine" could be reused for another game without having
state machines. The "Minima Engine" can be reused for another game without having
to modify too much code; if the target game is in a similar world to Miskatonia, not
much more than the victory conditions would need to be changed on the code side.
much more than the victory conditions would need to be changed on the code side. As
of this writing, at least one other game makes use of the Minima Engine.

Other Notes
-----------
Expand Down
4 changes: 2 additions & 2 deletions minima.p8
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ function inputprocessor(cmd)
signcontents=check_sign(xcoord,ycoord)
if signcontents then
response={"read sign",signcontents}
elseif xcoord==1 and ycoord==38 and hero.dmg<50 then
elseif xcoord==1 and ycoord==38 and hero.dmg<40 then
-- search response
response[2]="you find the magic sword!"
hero.dmg=40
Expand Down Expand Up @@ -982,7 +982,7 @@ function look_results(ldir,xcoord,ycoord)
elseif content then
update_lines{cmd,content.n}
elseif curmap.dg then
update_lines{cmd,getdungeonblk(xcoord,ycoord,hero.z)==20 and 'passage' or 'wall',1}
update_lines{cmd,getdungeonblk(xcoord,ycoord,hero.z)<1 and 'passage' or 'wall'}
else
update_lines{cmd,terrains[mget(xcoord,ycoord)]}
end
Expand Down
Binary file modified minima.p8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions release-to-itch.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
#! /bin/bash

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

butler push minima-linux feneric/minima:minima-linux --userversion 1.1.1
butler push minima-osx feneric/minima:minima-osx --userversion 1.1.1
butler push minima-ms-win feneric/minima:minima-ms-win --userversion 1.1.1
butler push minima-linux feneric/minima:minima-linux --userversion 1.1.2
butler push minima-osx feneric/minima:minima-osx --userversion 1.1.2
butler push minima-ms-win feneric/minima:minima-ms-win --userversion 1.1.2
butler push minima-raspi feneric/minima:minima-raspi --userversion 1.1.2
butler status feneric/minima:minima-linux
butler status feneric/minima:minima-osx
butler status feneric/minima:minima-ms-win
butler status feneric/minima:minima-raspi

0 comments on commit 110611d

Please sign in to comment.