304 Commits

Author SHA1 Message Date
Aaron Suen
184194bb24 Make ears a bit smaller. 2019-03-02 13:47:20 -05:00
Aaron Suen
e853a0d504 Make player model a little more demographically neutral.
Also, tidy up clothing.
2019-03-02 13:39:46 -05:00
Aaron Suen
0b879d59bf Make the player just a little smaller.
If 1 node = 1 meter, then the player is now 180cm tall, which is
about the 70th percentile, instead of 200cm, which was the 99.9th
percentile (unrealistically tall).

The model's head also sinks into the ceiling much less at the
height of a jump.
2019-03-02 12:02:08 -05:00
Aaron Suen
46cefb3bc6 Fix model coords/position in 0.4.
Detect MT version and swap out a coordinate-transformed version of
the model.
2019-03-02 11:32:47 -05:00
Aaron Suen
b94d04159e Buff base player walking speed.
Players can't "sprint" currently, so hopefully this should make
exploration about 20% less tedious, and reduce the temptation to
rely on using the "fast" priv.
2019-03-02 11:16:22 -05:00
Aaron Suen
0350960762 Remove redundant license file.
Per CONTRIBUTING terms, licenses are combined.

Also, this mod is no longer PURELY LoneWolf's work (mostly just
the model is intact, and the code/textures are largely mine) so
the copyright statement in this license file was not really
reflective of the totality of what it covered.
2019-03-02 10:56:16 -05:00
Aaron Suen
4de1867d75 Remove health descriptions from player HUD text.
We can already see these plainly on the model now.
2019-03-02 10:17:33 -05:00
Aaron Suen
27b8919b37 Completed player model mod, with textures.
- Textures derived from old player sprites.  Not 100% sure UV
  mapping is right, but it looks good enough in singleplayer.
- Certain basic privs, i.e. shout/interact, are displayed on the
  player model via adding/removing elements.
- Battle damage shown on player model.
2019-03-02 10:13:39 -05:00
Aaron Suen
34970e2696 Merge branch 'master' into lwplayer 2019-03-02 09:03:08 -05:00
Aaron Suen
473c65b403 Oops, forgot mods subdir. 2019-03-02 09:02:51 -05:00
Aaron Suen
e8aaf4e580 Fix empty stack node on chopping wood pick head into sticks. 2019-03-02 08:55:15 -05:00
Aaron Suen
760a50bde3 Jitter movement speed.
This gives a much stronger sense of "limping."
2019-03-01 00:15:29 -05:00
Aaron Suen
d1e52fb303 Tote bug fixing.
The major bug was the lode heating/cooling logic wiping out the
tote's inventory when it was sitting in a stack node.

Also setup description text.
2019-02-28 23:47:36 -05:00
Aaron Suen
29dc12fcfb Appearance and recipe for tote node. 2019-02-28 23:16:07 -05:00
Aaron Suen
67041ac54d Craft shelves in-place.
Since the recipe output count matches frame count, this is more
consistent with design intent.

Shelves can also be crafted in place this way for use in a tote.
2019-02-28 23:15:26 -05:00
Aaron Suen
229dda7714 Fix crash on placing w/ no metadata. 2019-02-28 00:30:28 -05:00
Aaron Suen
579679da2c Initial revision of a portable "tote" node.
When picked up, it carries up to 8 surrounding shelves with it,
allowing significant inventory compression into one slot.  Needs
to be placed somewhere everything fits to access the inventory
again.
2019-02-28 00:02:00 -05:00
Aaron Suen
ce46564f8e Bare stacks coalesce, but items don't fall into top of shelves. 2019-02-27 23:12:19 -05:00
Aaron Suen
aa3c33adf9 Nerf healing speed too. 2019-02-27 22:50:54 -05:00
Aaron Suen
06f28a4a7b Re-nerf death spew velocity; was kinda ridic. 2019-02-27 22:35:23 -05:00
Aaron Suen
5aed5449ad Tweak tree-gen, making them a little easier to find.
Had multiple complaints from players that trees are hard to find.
The possiblity of needing some exploration is reasonable, and we
don't want the world to be too uniform for aesthetic reasons, but
there shouldn't be much harm in making trees less frustrating
to find.
2019-02-24 23:49:24 -05:00
Aaron Suen
bfce78f06f Register missing dependency. 2019-02-24 23:33:06 -05:00
Aaron Suen
393210db69 Start proper spectator support.
Make sure that non-built-in content respects the interact priv
and prevents spectator players from doing nasty stuff.
2019-02-24 21:54:33 -05:00
Aaron Suen
f4581e61fe Fix a typo. 2019-02-24 20:29:46 -05:00
Aaron Suen
9fe3f296b9 Tree stumps can finally be ground up by lode axes. 2019-02-24 16:36:53 -05:00
Aaron Suen
96a339ff9d Make encumbrance quadratic instead of linear.
This makes it a little easier to notice when it kicks in.
2019-02-24 14:40:21 -05:00
Aaron Suen
d22a391055 Allow grass to grow on loose soil too. 2019-02-24 14:23:42 -05:00
Aaron Suen
fb75424335 Encumbered injured players walk slower.
Encumbrance is calculated from inventory slots filled (ignoring
count within stacks), compared to health; players can freely carry
the same proportion of slots as their health.

Players who are encumbered lose up to 80% of their walking speed
(i.e. for a full hotbar and no health).

This is another disadvantage for being injured, and an incentive
for players to take care of their health.
2019-02-24 13:54:58 -05:00
Aaron Suen
a3a1f441c7 Tersify some hints. 2019-02-24 11:00:26 -05:00
Aaron Suen
6e0d5a0778 Strata overhaul
- Apply stratification last in shared mapgens, so it can see all
  already-placed ores.
- Support stratification for nodes other than plain stone.
- Register lode stone and lode ore for stratification.
2019-02-24 10:19:22 -05:00
Aaron Suen
7c18b8110d Sponge nerf.
- Spawn fewer clumps.
- Spawn larger clumps.
- Spread much slower.
2019-02-23 23:29:55 -05:00
Aaron Suen
c5e6641d39 Added emergency suicide command.
Kills the player over a short span of time.  Any movement
aborts the kill.
2019-02-23 23:29:27 -05:00
Aaron Suen
510e642a53 Remove debug code. 2019-02-23 22:50:04 -05:00
Aaron Suen
44b6a1d228 Shared mapgen API, add hard stone strata. 2019-02-23 22:48:39 -05:00
Aaron Suen
2091c6621e Nudge stack ents up to prevent z-fighting w/ bottom of shelves. 2019-02-23 21:30:35 -05:00
Aaron Suen
72c2df452b Hints about sponges. 2019-02-23 20:46:17 -05:00
Aaron Suen
7771974371 Flesh out lode and shelf hints. 2019-02-23 20:45:00 -05:00
Aaron Suen
0d44601374 Fix shelf appearance under mipmapping. 2019-02-23 20:35:22 -05:00
Aaron Suen
a364e28cd2 Make shelf selection and collision boxes consistent.
This was causing weird issues with items falling "into" a shelf
and ending up stored there, leading to a few "where did my items
go" moments.
2019-02-23 20:08:40 -05:00
Aaron Suen
e2cf72282c Disallow shelf access through top/bottom. 2019-02-23 20:06:14 -05:00
Aaron Suen
9bf273fdde Fix crash on death. 2019-02-23 18:47:11 -05:00
Aaron Suen
710f5e3d7c Make death scatter items more.
Also move death next to respawn code.
2019-02-23 17:52:23 -05:00
Aaron Suen
838e6249f5 Minor hint tweaks.
- Display numerical stats too.
- Display update check reminder when out of hints.
2019-02-23 17:28:01 -05:00
Aaron Suen
b680b69cd8 Stat improvements.
- Fix cheat stat bug.
- Hook to track crafting recipe completion.
2019-02-23 17:00:42 -05:00
Aaron Suen
e6c3be714a Fix serious regression in stone-tipping tools. 2019-02-23 13:34:41 -05:00
Aaron Suen
659f1dcf2a Penalty for death: respawn with minimum health. 2019-02-23 13:20:56 -05:00
Aaron Suen
726f385e52 Add player natural healing.
- Players heal over time at variable speed, depending on subtle
  environmental factors.
- This frees us up to work on the death mechanic, since it's no
  longer the only way to restore health and prevent an untimely
  death.
2019-02-23 13:14:09 -05:00
Aaron Suen
480b999705 Make shelves easier to build.
- Double recipe yield
- Bash planks directly to sticks with mallet

- Remove debug code.
2019-02-23 10:39:38 -05:00
Aaron Suen
e303f100cf Shelves can no longer be nested.
- As a general rule, we're disallowing nesting of containers for
  now.  Only bare stack nodes may contain containers.
- Overhaul docs.  Ideas are getting out of hand, shoved a lot of
  stuff into the icebox for now.
2019-02-23 10:33:17 -05:00
Aaron Suen
58cd080fdf Apply big stack refactor. 2019-02-23 10:21:27 -05:00