Aaron Suen
62f0db49e0
Fire mod is now basically functional.
...
"Qualitative" fire now works, spreads, etc.
Rub 2 sticks/staves together to start a fire in nearby flammables.
2019-01-06 13:04:07 -05:00
Aaron Suen
7d29907ab2
Some API refactors.
...
- Clean up utils into multiple files.
- Standardize limited ABM.
- Standardize debug trace handling. Instead of using chat_send_all
to debug, and then having to remember to remove before release,
allow privileged players to receive all server debug messages.
2019-01-06 12:02:37 -05:00
Aaron Suen
66a97860c7
Better group name.
2019-01-05 23:13:24 -05:00
Aaron Suen
e2dd2de5ba
Leaf decay, woodcraft wears tools.
2019-01-05 23:11:38 -05:00
Aaron Suen
6d5432bd6b
Prevent pummeling non-single stacks.
...
Allowing this could let you pound a whole stack of loose sand
into a single node of regular sand.
2019-01-05 21:33:15 -05:00
Aaron Suen
82d88b2e42
Make tree logs choppable!
2019-01-04 20:36:46 -05:00
Aaron Suen
9f0f2b161e
New look for adze consistent with other tools.
2019-01-04 20:32:04 -05:00
Aaron Suen
5df6e644e9
Finished basic wood tools, optimized images.
2019-01-04 20:27:44 -05:00
Aaron Suen
3b0d6b4b57
Fixed various right-click-place issues, stub for new wood tools.
2019-01-04 20:11:04 -05:00
Aaron Suen
614a96b1cc
Fix broken tool-head chipping.
2019-01-04 00:05:10 -05:00
Aaron Suen
93b123ada5
Prevent placing a stack of nothing via right-click.
2019-01-03 23:54:49 -05:00
Aaron Suen
0e73d15ac4
Fix errors, remove debugging hook.
2019-01-03 23:52:05 -05:00
Aaron Suen
a8a0c6f753
Fix missing falling check on placement.
...
Note that craft check still takes place before falling, so items
can still be placed into a suspended position to complete a craft.
2019-01-03 23:49:19 -05:00
Aaron Suen
45a6c259ce
Infrastructure (hack) for placing/crafting with non-node items.
...
Right-clicking with an item now by default places one as a stack
node. When placing this way, crafting detection applies.
Had to copy in a bit of code from builtin.
2019-01-03 23:42:53 -05:00
Aaron Suen
67a0761e96
Clean up toolheads, refac pummel extension.
2019-01-03 23:19:41 -05:00
Aaron Suen
9fb8b9ed8c
Unify some near-duplicate API's.
2018-12-30 20:09:33 -05:00
Aaron Suen
f7b3cab04f
Fix tool head names a bit.
2018-12-30 19:56:15 -05:00
Aaron Suen
0c730c9501
Better tool chipping process: pummel them in itemstack form.
2018-12-30 19:37:59 -05:00
Aaron Suen
cbee3fa367
Initial prototype for tool heads.
...
They don't look right with the "signlike" render type. May need
to find a way to allow a craftitem to be pummeled when in
"item node" form.
2018-12-30 19:16:16 -05:00
Aaron Suen
78f4c8bd74
Fix crafting, move staff to woodworking.
2018-12-30 18:44:28 -05:00
Aaron Suen
c91151ab06
Start of a more flexible centralized crafting system.
2018-12-30 17:36:47 -05:00
Aaron Suen
7835a357da
API refacs, and some planning.
2018-11-05 20:03:05 -05:00
Aaron Suen
f301ac8d17
Better pummel particle image.
2018-11-05 00:34:02 -05:00
Aaron Suen
674f169090
Various touch-up.
2018-11-05 00:21:02 -05:00
Aaron Suen
e6977e1a0a
Added particle effects to pummelling.
...
Similar to crack texture on digging, this gives visual feedback
that what the user is doing is working, and just needs more time.
2018-11-04 23:30:06 -05:00
Aaron Suen
db302c8807
Smother fire to produce ash.
2018-11-04 22:19:32 -05:00
Aaron Suen
bd526122e8
Start initial stub work on fire.
2018-11-04 22:03:22 -05:00
Aaron Suen
8a316dea75
Lighter, less coal-like particles.
2018-11-03 21:24:25 -04:00
Aaron Suen
aa1da28637
Simplify knowledge, add pummel support, stack breaking particles.
2018-11-03 21:18:39 -04:00
Aaron Suen
8acfe467ac
Expose API.
2018-11-03 21:05:15 -04:00
Aaron Suen
7f619a4e4e
Remove debug messages.
2018-11-03 21:00:57 -04:00
Aaron Suen
41f4cbcbc8
Back out stubbed hints system for now.
2018-11-03 21:00:38 -04:00
Aaron Suen
d042609b85
Player knowledge tracking system.
...
Track a list of all unique experiences a player has had with
various nodes. This can be used for a hints/achievements system.
2018-11-03 20:58:49 -04:00
Aaron Suen
ac1d23c988
Merge nc_inv into nc_player.
...
Considering an eventual "achievement" system.
2018-11-03 19:23:33 -04:00
Aaron Suen
90574771c6
Simplify trees, since logs currently cannot be moved.
...
Presumably this will change in the future, but it's also not
a given that we should have a falling or rotating version of the
tree (or that it should also split to planks).
2018-11-03 19:18:28 -04:00
Aaron Suen
7bd9c4e63a
Use adze to split logs into planks.
2018-11-03 18:56:07 -04:00
Aaron Suen
90c7d2daaf
Clean up crack texture, refac tool crafting, dig/punch facing.
2018-11-03 17:40:04 -04:00
Aaron Suen
146d50bcb1
Very basic tree growth from EggCorns.
...
Right now, the growth timing is purely stochastic, and does not
factor in environment, light, space, or cumulative time.
2018-11-03 12:55:26 -04:00
Aaron Suen
4941a966e5
Double-res crack texture to make easier to see.
2018-11-03 12:11:50 -04:00
Aaron Suen
f69fd6ce72
Setup crack_anylength, fix a bug in loose repacking.
2018-11-03 12:02:44 -04:00
Aaron Suen
94ba8e8419
Attractive replacement inventory screen.
2018-11-03 11:43:44 -04:00
Aaron Suen
37c8b0865c
Separate tech trees in tree mod.
2018-11-03 11:26:15 -04:00
Aaron Suen
b7e3048fd7
API cleanup, librarify "visible inventory" functionality.
...
If we later implement solo-stack open containers, then this will
be reusable for that as well.
2018-11-03 08:46:14 -04:00
Aaron Suen
24e4f73213
Basic adze tool, able to break trees now.
...
Much TODO:
- Primitive adze should not harvest trees whole; need to split into
planks from end only.
- Not entirely satisfied with crafting experience from gameplay nor
API perspective.
- Need an easier way to register these kinds of recipe checks.
- Need more gameplay actions to commmit a craft, e.g. have to pound
the tool head into place.
2018-11-02 23:54:43 -04:00
Aaron Suen
20e79f0db1
Add more resources to be harvested from tree canopies.
2018-11-02 22:55:14 -04:00
Aaron Suen
d4295833fa
Slightly better continuity from tree to root texture.
2018-11-02 22:16:24 -04:00
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