3035 Commits

Author SHA1 Message Date
Aaron Suen
99ceadf677 More repose tweaks/fixes/improvements. 2018-11-02 22:00:39 -04:00
Aaron Suen
15e71cfd3b Have to use hand to pack earth, code cleanup, fixes, optimization. 2018-11-02 21:20:51 -04:00
Aaron Suen
e4f5ac93bc Fix missing API param.
Without puncher, we wouldn't be able to lookup wielditems.
2018-11-02 19:23:13 -04:00
Aaron Suen
cd8db98c68 Add "pummel" action, for repeatedly punching nodes.
- Punch a node repeatedly, aborting dig between each swing, to
  trigger the "pummel" action.
- Can use this to repack "loose soil" type nodes into solid,
  non-falling versions.
2018-11-02 19:08:59 -04:00
Aaron Suen
3a7ac241fc Disable normal punch mechanism; MUST settle into node-space first. 2018-11-02 18:52:02 -04:00
Aaron Suen
7e9fcf296d API-ify some node behavior upon registration. 2018-11-02 18:47:44 -04:00
Aaron Suen
8260805612 Sync stack visual scale with item_entity. 2018-11-02 07:58:19 -04:00
Aaron Suen
b8b4b24982 Start unified API, add angle-of-repose logic.
"Loose" versions of materials will only allow a certain maximum
angle of repose, and will shuffle around sideways and fall if
that angle is exceeded.  Softer materials like sand, leaves, loose
items, will all have shallow angles, while sturdier stuff like
dirt, gravel, etc. may allow steeper ones.
2018-11-02 07:52:23 -04:00
Aaron Suen
0fdd842953 Dryer leaf color when falling. 2018-11-02 00:53:53 -04:00
Aaron Suen
92344e871f Can now cut down leaves. 2018-11-02 00:50:34 -04:00
Aaron Suen
1aa85e4a6e Transform grass->dirt in-world.
Effects:
- Grass now "toughens up" the dirt by making it take effectively
  twice as long to dig up.
- Conversion from grass to dirt is now a lot more visible in world.

The idea of "transformations taking place in world" should arguably
apply to drop transformations: all nodes when dug should EITHER
go to inventory without changing, i.e. drop themselves, OR should
transform in-world and need to be dug a second time.
2018-11-02 00:39:52 -04:00
Aaron Suen
bdb0cb1b2c Prevent trunks peeking out at the top. 2018-11-02 00:25:12 -04:00
Aaron Suen
71e67c396b Notably less-perfect trees. 2018-11-02 00:19:44 -04:00
Aaron Suen
7547175aa2 More advanced trees, with roots. 2018-11-02 00:08:42 -04:00
Aaron Suen
5aab77a031 Move trees into their own mod.
Tell all versions of the mapgen never to place them, and only
ever use decoration placement system.
2018-11-01 23:06:06 -04:00
Aaron Suen
0cc6ecfebe Tone down sand similarly. 2018-11-01 22:16:31 -04:00
Aaron Suen
5182718586 Make grass less sickeningly overpowering. 2018-11-01 22:13:37 -04:00
Aaron Suen
7969989d95 Make trees a lot less plentiful. 2018-11-01 22:07:00 -04:00
Aaron Suen
045e1a7f5b Oops my water had disappeared! 2018-11-01 21:53:55 -04:00
Aaron Suen
b478701f3f New textures for terrain.
They're a less "realistic" and fit the more regular, crystalline
visual theme from the title graphics.
2018-11-01 21:33:56 -04:00
Aaron Suen
1923c32282 Some dummy player graphics to appease the engine. 2018-11-01 20:33:42 -04:00
Aaron Suen
b4add562b5 Fixed liquids, made sand, grass, gravel, dirt diggable. 2018-11-01 19:56:38 -04:00
Aaron Suen
d516c74b1b Fix CONTENT_IGNORE warnings.
Apparently you can't register something as a liquid for
swimmability reasons anymore without also specifying alternate
source/flowing versions for the liquid transformer.
2018-11-01 19:36:08 -04:00
Aaron Suen
387f5cbd8c Move core principles back into README. 2018-10-31 20:31:13 -04:00
Aaron Suen
d8676bfdd7 Reorg and break down docs, add license. 2018-10-31 20:14:56 -04:00
Aaron Suen
28f6a3919b Polish stack visuals. 2018-10-30 20:05:46 -04:00
Aaron Suen
05f8ae46a8 Smooth up item grid stacking further. 2018-10-30 19:54:28 -04:00
Aaron Suen
6b9e083776 Got stack node working more-or-less smoohly. 2018-10-30 11:12:36 -04:00
Aaron Suen
5f72f9131f "Stack" node/entity for items in world on grid.
- Need to search for open space for ents trapped inside a node.
- Look into a smoother way to handle the drops hack for the
  stack node; maybe a central API with ext_drops supporting
  functions?
2018-10-30 10:18:49 -04:00
Aaron Suen
7f426f5200 Attempt to fix some mapgen issues. 2018-10-30 10:18:38 -04:00
Aaron Suen
7fb3f1be0f More hud stuff, limit inventory. 2018-10-29 23:43:34 -04:00
Aaron Suen
c2992ad3e0 Setup a few basic mods for terrain and some basic UI. 2018-10-29 22:37:57 -04:00
Aaron Suen
1816d80065 Menu background. 2018-10-29 20:58:29 -04:00
Aaron Suen
2a938c33ad Created some logo artwork. 2018-10-29 20:34:30 -04:00
Aaron Suen
c3e8570f69 Initial concept notes. 2018-10-27 08:23:18 -04:00