Commit Graph

10938 Commits

Author SHA1 Message Date
Wuzzy
dfbce6836a Save exhaust/saturation as integers 2017-05-20 22:33:10 +02:00
Wuzzy
ae19fd9cba Hacky saturation+exhaustion persisting 2017-05-20 22:06:12 +02:00
Wuzzy
d8e1124ee4 Refactor set/get hunger functions 2017-05-20 21:23:02 +02:00
Wuzzy
26e13119cb Get rid of those weird hunger_raw functions 2017-05-20 20:59:30 +02:00
Wuzzy
690e81c0fe Do not allow negative hunger 2017-05-20 20:40:22 +02:00
Wuzzy
c328a9b1bc Update falling nodes after eating up cake 2017-05-20 20:10:12 +02:00
Wuzzy
0bb0ba91d9 Hunger: Remove some redundant HUD bar changes 2017-05-20 20:07:10 +02:00
Wuzzy
daf42e45c3 Limit saturation bonus by max food points 2017-05-20 20:00:26 +02:00
Wuzzy
22b8ba6440 Don't decrease hunger if saturation down from < 1 2017-05-20 19:59:47 +02:00
Wuzzy
5252409326 Reduce food level when exhaust>=4 and satur.=0 2017-05-20 19:51:46 +02:00
Wuzzy
8114ecf263 Dump unused code in mcl_sprint mod 2017-05-20 19:18:37 +02:00
Wuzzy
d13546246e Cause exhaustion by sprinting 2017-05-20 19:14:07 +02:00
Wuzzy
2b484d8da3 Fix saturation possibly getting lower than 0 2017-05-20 18:48:40 +02:00
Wuzzy
3291fcb054 Add saturation value to food items 2017-05-20 17:45:04 +02:00
Wuzzy
a300831614 Add dummy saturation for eating food 2017-05-20 16:59:11 +02:00
Wuzzy
7c5b613032 Clean up hunger debug HUD bars 2017-05-20 16:37:31 +02:00
Wuzzy
bed9ccaa65 Hunger: Add internal saturation and exhaustion 2017-05-20 16:20:03 +02:00
Wuzzy
10446881b4 Take away 3 food points for regenerating 2017-05-20 15:01:59 +02:00
Wuzzy
9c22df853d Generate igloos on snow blocks 2017-05-20 07:59:10 +02:00
Wuzzy
24ed86f18c Add igloo schematic (kinda) 2017-05-20 07:46:57 +02:00
Wuzzy
b433107f67 Rarely spawn desert wells in deserts 2017-05-20 06:47:42 +02:00
Wuzzy
52616d86c0 Add desert wall schematic (no spawning yet) 2017-05-20 05:57:38 +02:00
Wuzzy
6772609872 Replace liquids in railcorridors 2017-05-20 05:26:18 +02:00
Wuzzy
c98c0bc6e6 Wash away carpets and cobwebs 2017-05-20 05:09:29 +02:00
Wuzzy
5f35bd2d2d Proper implemetation of liquid flow node actions 2017-05-20 05:05:58 +02:00
Wuzzy
7ec501f779 Remove fire debug stuff 2017-05-20 04:25:51 +02:00
Wuzzy
d625fa734b Destroy lever by flowing lava, too 2017-05-20 04:13:57 +02:00
Wuzzy
c49e8dfba0 Destroy some nodes by flowing lava 2017-05-20 04:11:14 +02:00
Wuzzy
7140bf71d8 Play sound for cooling lava 2017-05-20 03:36:07 +02:00
Wuzzy
f7b75834f1 Ignite air above lava sources 2017-05-20 03:24:36 +02:00
Wuzzy
e2e2a99d6b Remove igniter group 2017-05-20 02:46:47 +02:00
Wuzzy
d257fa1437 Change fire spread rules, switch to timers 2017-05-20 02:45:37 +02:00
Wuzzy
ef06d345df New lava generator: Spawn in air in layers 1-10 2017-05-20 01:27:09 +02:00
Wuzzy
d13fe532c5 Create drips only below solids below liquids 2017-05-20 00:38:10 +02:00
Wuzzy
0ae946a920 Mapgen: Single water and lava sources in ground 2017-05-19 22:26:39 +02:00
Wuzzy
34005774b8 Allow ore generator to replace andesite, etc. 2017-05-19 20:04:07 +02:00
Wuzzy
0d08f65cfe Generate dirt and gravel after stones 2017-05-19 19:56:37 +02:00
Wuzzy
2d5d1ae23a Put items into desert temple chests 2017-05-19 19:26:59 +02:00
Wuzzy
10b1099a21 Drop legacy WorldEdit support in mcl_structures 2017-05-19 18:22:27 +02:00
Wuzzy
09753ae57a The mod mcl_fishing now uses mcl_loot API 2017-05-19 18:00:21 +02:00
Wuzzy
1cdc98e03b Add more defaults for mcl_loot, fix random wear 2017-05-19 17:58:15 +02:00
Wuzzy
49bd956da8 Add loot API and use it in tsm_railcorridors 2017-05-19 16:46:03 +02:00
Wuzzy
ba2d83eff9 Rename random_struct to mcl_structures 2017-05-19 15:13:31 +02:00
Wuzzy
7c85b380b9 Improve error reporting of /spawnstruct 2017-05-19 15:09:46 +02:00
Wuzzy
8e77c897e6 Rename /spawnstruct parameters 2017-05-19 15:06:21 +02:00
Wuzzy
8c4c2e20d3 Fix sand temple chest formspec 2017-05-19 14:58:15 +02:00
Wuzzy
c46cdb67c0 Fix the partially non-pointable fences
This was caused by incorrect ordering of nodebox boundaries (bigger value was first sometimes)
2017-05-19 14:22:06 +02:00
Wuzzy
5907d43179 Reset farmland, etc. to dirt when gourd grows on top 2017-05-19 13:22:29 +02:00
Wuzzy
80a0e32f4b Turn farmland to dirt when gourd appears on top 2017-05-15 21:55:01 +02:00
Wuzzy
63ee9f9d06 100% chance for broken rails in mine shafts 2017-05-15 21:25:37 +02:00