Skip to content

4.0 Alpha __subs, map, and more

Pre-release
Pre-release
Compare
Choose a tag to compare
@0n1udra 0n1udra released this 24 Jan 02:43
· 290 commits to master since this release

Lots of new changes!

  • Updated structure of how the storyline is coded. Added __subs list, which allows you to add alternative user inputs for the same action.
  • Major storyline changes, dialog changes, mechanic changes, and what order some sections playout have changed.
  • Updated look of most interface items, like stats, inv, acquisition messages, etc. And also updated how Action menu behaves.
  • Action menu is now by default disabled, so you don't exactly know what are the available actions. But they can be turned back on with menu on command. You 'should' be able to infer what to do and what other actions are available from the story. Also, if hardcore mode is active, the hints will be disabled along with menu, and not able to be turned back on until deactivated hardcore mode.
  • New menu, textcrawl, hints, hardcore commands to change game settings. Help command also updated, help settings shows those help commands I just listed. help level shows level chart and corresponding ranking. help shows everything else like inv, stats, craft, mimic, etc.
  • Chapter1 is now the cave section, and Chapter2 will start when you leave the cave. Chapter2 in the works, and still working out the kinks in Chapter1.
  • Started making classes for specific locations with relevant actions you want to add to a section. You can add extra actions to class by inheriting that location class. For example, cave_actions has eat_ore and eat_grass actions, instead of functions/classes for these actions over and over again for each section you want them to have them, just inherit cave_actions to the relavant classes. However if you override an existing action, you'll have to set the __subs list again, example __subs = cave_actions.__subs.
  • Fixed major bugs relating to mimicry, attack, targeting, item acquisition and usage, and more.
  • Craft command now able to take amount after item name, or you can just input item name to show recipe. 'craft full potion 10', vs 'craft full potion' than entering 10.
  • Water item added for use of Hydraulic Propulsion. Will probably make it so crafting Full Potion also uses water, later. Maybe like dilut
  • Touched up on how textcrawl works, and made it a bit faster.
  • Also added some stick figure text art, this is different from the ASCII art. You can't disable these, unlike the ASCII ones. They're small enough that they don't need to be.
  • I had some issues with PyInstaller tripping Windows Defender. If it does, then, don't run it. If you want to play the game and know how to run python, then download the source code itself.