I noticed when you're standing still but using a tool/hitting a block etc. you still regain energy. It would be best if you continue to lose energy (same rate as if you were moving?) while performing these actions. :wink.gif:
One problem - when playing a custom map (without leather or cows in it) or Wasteland mod there is no way of quenching your thirst:( Why I can drown in a sea of water but cant take even a little sip from it?
You can drink water by right clicking on any water block with your bare hands. If you were playing with mods that removed water completely, then you would be out of luck.
Make it so that you will need to pee. The more you drink, the more you would want to pee. There should be a pee bar with the energy, hunger and thirst which will look like the thirst bar but the drops will be yellow. The more you need to pee, the more energy would decrease. You can relieve yourself on a sapling, and it should work like bonemeal: if the conditions are right, then you have a chance of making the sapling grow into a tree. If you don't manage to find a sappling, then you will pee yourself. If are wearing pants or boots, they will be removed seeing as you peed yourself. And if you aren't wearing anything, then you will take 5 hearts of damage. You can also craft a toilet if you don't want to pee on saplings:
[ ] [ ]
= Bucket of water
THIS IS THE BEST IDEA EVER! YOU SHOULD DEFINITELY PUT IT IN THE MOD!
For some reason the bars aren't showing up. When I first start a world, the bars pop up, then disappear. I tried in debug mode, but no dice. I've set it to succession SP, and I've died and been reincarnated complete with gravestone, and crafted items such as a waterskin, but no bars.
I can refill my thirst and energy bars, but raw and cooked pork do nothing for my hunger bar. I'm wasting away!
I wish I could provide more information than that. Let me know if there is anything helpful I could add. No crash, so no report. :sad.gif:
EDIT: More info. I died of starvation, and I didn't lose a life. After dying, I still can't refill my hunger bar with food. Attempted to enter 'Options' menu and received black screen.
EDIT #2: Resolved. Said to h**l with the modloader and manually installed Survivalism. All issues fixed. Great mod. Can't tell you how grateful I am for this.
I had hoped it wouldn't end this way but clearly this was a fool's errand. I travelled into the hellish Nether dimension to extend my life not to end it! But here I am buried in a tiny hole with the Ghasts mewling outside. My portal has been destroyed and I have little food or water left. All I can do is wait for the inevitable...
VoodooFrog's Survivalism Mod
After what seems like ages of trial and error and late night coding sessions I have completed my first mod: Survivalism. The mod is designed to increase the challenge of the game as well as deepen immersion into the game world by simulating needs and limiting lives.
Features
Hunger - Food isn't just for healing any more and as you get hungry you have less energy reserves.
Thirst - On top of hunger there is thirst which decreases faster than hunger and has a similar effect on energy.
Fatigue - You have a limited pool of energy to use up before becoming fatigued and slowed down. Rest, food and drink all help replenish your energy.
Lives - Lose them all and be locked out of your save
Hardcore Mode - For the really adventurous, activating hardcore mode means your save is deleted on death!
New Items - Waterskin for thirst, Energy Bar for fatigue regeneration and Soul Orbs for...
The Soul Shrine - A device created from Nether materials that can imbue a Soul Orb with energy and save your life!
Safe - This mod leaves existing worlds alone. In order to force enable it press CTRL + R. There is no disable key as a deliberate choice.
Game Modes - This mod adds 2 new game modes: Succession Single Player and Succession Multiplayer.
Gameplay
As I've said before the point of this mod is to increase immersion and provide extra challenge. When running the mod for the first time you'll notice a couple of new elements have been added to your screen:
Needs Indicators
The top bar (represented by lightning bolts) is your energy. This decreases when you move, swing your arm, or jump and the rate of decrease is faster in water or when hungry or thirsty. The bar increases when you stop moving for a while including when crafting. Energy is completely replenished by sleeping.
The next bar down (represented by water drops) is your thirst. This decreases at a constant rate and lasts about about 1 1/2 in-game days by default. When at half, you will lose energy faster, at 5 faster still and at 1 will increase your energy loss by a factor of 3. When it's empty you will start taking damage.
The final bar (represented by apples) is your hunger. This decreases at a constant rate and lasts about about 2 in-game days by default. When at half, you will lose energy faster, at 5 faster still and at 1 will increase your energy loss by a factor of 3. When it's empty you will start taking damage. Cake does not replenish hunger (I'll be looking into it).
Lives Indicator
The lives indicator (golden hearts) is fairly self explanatory. You start with 3 lives by default and lose one when you die. There is no way to regain lives lost but you can create and charge up Soul Orbs to take the hit when you die rather than your life pool. Of course, that means gathering materials from the dangerous Nether...
I heartily recommend activating Hardcore Mode (see configuration below) so that saves are deleted on death for the best experience but I can understand some might be hesitant to do so. When you are locked out of a save on death, if you really, really want to get back in you simple need to delete the "vf_survivalism.dat" from your save directory. You wuss. :tongue.gif:
Recipes
Waterskin
4 x Leather
Gives you an empty waterskin which can then be filled in the same way as a bucket. Replenishes thirst and a small amount of fatigue on use and carries 5 uses worth of water. You cannot drink when you your thirst bar is full.
Energy Bar
3 x Sugar, 3 x Wheat
Returns three energy bars that can be used to replenish a small amount of hunger but a lot of fatigue. Can be stacked in threes unlike other food items.
Soul Orb
4 x Diamonds, 1 x Soul Sand
When charged in a Soul Shrine, the Soul Orb can prevent you from losing a life upon death. You only need to carry it in your inventory and it will be removed at point of death. Does not stack.
Soul Shrine
4 x Netherack, 4 x Glowstone, 1 x Redstone Dust
The Soul Shrine is used to charge an empty Soul Orb with Redstone power.
Charging an Orb
1 x Empty Soul Orb, 64 x Redstone Dust
Works like a furnace, but uses Redstone instead of convential fuels. Note that it takes a stack of 64 Redstone to activate a Soul Orb.
Windows
1) Locate your minecraft.jar file in "%APPDATA%/.minecraft/bin" and create a backup of it
2) Open minecraft.jar in an archive utility (7-Zip, WinRAR, etc.)
3) Delete the META-INF folder
5) Copy the contents of the downloaded mod zip file into the jar file replacing previous files
Linux
1) Locate your minecraft.jar file in "/home/<username>/.minecraft/bin" and create a backup of it
2) Open minecraft.jar in an archive utility (File Roller, Ark, etc.)
The rest of the steps are the same as Windows above
OS X
1) Locate your minecraft.jar file. in "<home>/Library/Application Support/minecraft/bin" and create a backup of it
3) Rename minecraft.jar to minecraft.zip and extract it
4) Rename the resulting folder to minecraft.jar and open it
5) Copy the .class files from the downloaded mod zip into the minecraft.jar folder replacing previous files
Please report any issues you discover to this thread.
Configuration
Most configuration is handled by going into the "Mod Options" sub-menu within the "Options" menu. In there you'll see a button for Survivalism and the options within are as follows:
Days Until Starving/Days Until Dehydrated: The amount of in-game days it takes before your hunger/thirst bars are empty Fatigue Rate: The speed with which you lose energy Rest Rate: The speed with which you regain energy
Within the "New World Options" submenu you can set your number of lives and what game mode you want to use when starting a new game. Note that these options are saved with the world so changing them in an existing game that already has these features will have no effect on them.
Should you need to enable debug mode or change item/block IDs then within the mods folder in .minecraft you'll find a folder named "Survivalism" and a file within that's called "settings.properties". You can edit to change the following:
ItemID_WaterskinFull=15001 //The item ID for a full waterskin
ItemID_EnergyBar=15002 //The item ID for an energy bar
BlockID_SoulShrineActive=241 //The block ID for an active Soul Shrine
BlockID_SoulShrineInactive=240//The block ID for an inactive Soul Shrine
ItemID_WaterskinEmpty=15000 //The item ID for an empty waterskin
ItemID_SoulOrbEmpty=15003 //The item ID for an empty Soul Orb
ItemID_SoulOrbFull=15004 //The item ID for a full Soul Orb
debugMode=false //Turns on debugging info so that variables can be watched
Compatibility
[Includes Specific Support|Known Compatible|Possible Issues|Incompatible}
FiniteLiquids v3
Millénaire
Somnia
IndustrialCraft
Treasure Mobs
Buildcraft
Portal Gun
Zombe's Modpack
TMI
SPC
Toggle Blocks
More creeps and weirdos
Wireless redstone
Shelf
Recipe Book
Zans Minimap
Dynamic Lights
Download
By downloading you agree to the following disclaimer (borrowed from Risugami's thread).
Disclaimer: These mods require altering minecraft.jar, and SMP may not work with these mods installed. Some of these mods add new content, do not load worlds with this new content if the respective mod is not installed. I am not responsible for any damage done to your computer, worlds, or your copy of Minecraft. That said, backup your worlds and bin folder!
N.B.: Shots taken using custom DokuCraft textures. Mod does not require 32px texture support.
Credits
Foremost I'd like to than PROWSE and CJB whose mods I learned what the hell I was doing with this from. Risugami for his awesome ModLoader, Clintonxa for MOAPI and the the dedicated team of the MCP. I'd also like to give a big shout out to all the helpful folk at #risucraft!
Changelog
v1.4.4
Fixed hunger not resetting on death.
v1.4.3
Fixed lives from one save bleeding into another.
Fixed Soul Orbs not working correctly.
Fixed player spawn not being wiped correctly in succession games.
v1.4.2
Fixed a sudden needs loss when importing an old world.
v1.4.1
Fixed needs counter not updating.
Fixed lives being lost too rapidly leading to premature epitaph.
v1.4
Refactored code.
Allow drinking water direct from source.
Changed needs HUD to scale better with screen.
Tweaked Soul Orb recipe.
Renamed fatigue and rest options.
Added succession game modes.
Added epitaph screen.
Added graves.
Added needs HUD position toggle.
Added bed check to prevent energy loss on waking.
Added beginnings of per-game stat tracking.
Added "off" mode.
Added notification toggle.
Added first achievement.
Fixed waterskin emptying bug.
Fixed exhaustion message spam.
Fixed crash on joining smp server.
v1.3.1
Changed waterskin to be refillable even when only partially empty.
v1.3
Rewrote needs handler to sync with changes in world time.
Now cannot drink water when bar is full.
v1.2.1
Fixed lives exploit.
v1.2
Added MOAPI support.
Moved options in to GUI.
Added FiniteLiquids v3 support.
v1.1.2
Fixed needs not being reset on death.
v1.1.1
Fixed exhaustion event not triggering.
Disabled hunger/thirst modification while sleeping for now.
v1.1_3
REALLY fixed needs not updating. Derp.
v1.1_2
Fixed needs not updating.
v1.1
Existing worlds have this mod disabled by default.
To enable Survivalism on an existing world press CTRL+R.
v1.0
Initial Release
If you've read this far, thanks... I mean it. This post took an age.
Im..umm having abit of a problem with the mod (awesome mod btw) not sure if its me or what but i cant press Esc while in game or it'll crash same thing happens when i press options in the main menu it crashes minecraft. when im in game, after i press Esc, it says "Saving Chunks" then crashes. its like a sick twisted but fun way of playing survival: cant save or edit anything or else! :tongue.gif:. but im sure thats not supposed to happen cause its getting annoying and i cant even save the world since i cant press Esc :sad.gif:
Im..umm having abit of a problem with the mod (awesome mod btw) not sure if its me or what but i cant press Esc while in game or it'll crash same thing happens when i press options in the main menu it crashes minecraft. when im in game, after i press Esc, it says "Saving Chunks" then crashes. its like a sick twisted but fun way of playing survival: cant save or edit anything or else! :tongue.gif:. but im sure thats not supposed to happen cause its getting annoying and i cant even save the world since i cant press Esc :sad.gif:
What version of minecraft do you have ? Minecraft version should be displayed on the top left corner of the screen.
You'll all be pleased to know that I've started work on upgrading for 1.7.3. It's taking a while though as I'm still moving stuff from my old house to my new.
I would like to give appreaciation. (please mind my spellind ); ) This mod sounds great ive been looking for a mod just like this! I like the way this mod makes minecraft have a diffrent challenge than the every day one. I could see this mod as a multiplayer change over. Adding this to multiplayer would be epic.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/14/2011
Posts:
59
Minecraft:
Socko972001
Member Details
Thanks for taking the time to update this wonderful mod .. we decided to skip the 1.7.x update here until this was out. :biggrin.gif: I have, however, stumbled across an issue ..
I've tried continuing an existing save (created pre 1.7), then charging a soul orb. I was able to access the shrine interface and place the empty orb inside, but as soon as I added a stack of redstone dust the shrine interface closed immediately. Opening the shrine again - which now 'looks' like it's charging an orb from the outside - shows that there's nothing inside .. the orb and dust have disappeared.
Naturally I made a backup first and have since tried; leaving the shrine for a prolonged period of time - this did nothing, as the shrine just continuously appeared as though it was charging something, but showed as empty in the shrine interface .. and .. picking up and replacing the shrine in a new location - I wasn't sure whether this would do anything but I figured what the heck, but to no avail.
Hopefully this is of some use to you, and if there's anything else I can try please don't hesitate to ask. :smile.gif:
Looking forward to the 1.7.2 update!
You can drink water by right clicking on any water block with your bare hands. If you were playing with mods that removed water completely, then you would be out of luck.
uhhhhh, i dont think that would fit in very well
Damn i accidentally gave your post reputation
I wish I could provide more information than that. Let me know if there is anything helpful I could add. No crash, so no report. :sad.gif:
EDIT: More info. I died of starvation, and I didn't lose a life. After dying, I still can't refill my hunger bar with food. Attempted to enter 'Options' menu and received black screen.
EDIT #2: Resolved. Said to h**l with the modloader and manually installed Survivalism. All issues fixed. Great mod. Can't tell you how grateful I am for this.
What version of minecraft do you have ? Minecraft version should be displayed on the top left corner of the screen.
Survivalism works very nicely with The Wasteland mod from Silver_Weasel.
Yay! I'm so happy. I finally have a reason to grow and eat all the crops and food from my Pam's Food Mod! =)
I've tried continuing an existing save (created pre 1.7), then charging a soul orb. I was able to access the shrine interface and place the empty orb inside, but as soon as I added a stack of redstone dust the shrine interface closed immediately. Opening the shrine again - which now 'looks' like it's charging an orb from the outside - shows that there's nothing inside .. the orb and dust have disappeared.
Naturally I made a backup first and have since tried; leaving the shrine for a prolonged period of time - this did nothing, as the shrine just continuously appeared as though it was charging something, but showed as empty in the shrine interface .. and .. picking up and replacing the shrine in a new location - I wasn't sure whether this would do anything but I figured what the heck, but to no avail.
Hopefully this is of some use to you, and if there's anything else I can try please don't hesitate to ask. :smile.gif:
To all other great mods i love and use but can't put a signature for. Mo'creatures, Dragons mod, Better than Wolves.