1854 Commits

Author SHA1 Message Date
Aaron Suen
c100ff30c0 Weird typo. 2019-01-30 21:45:07 -05:00
Aaron Suen
9ef8b8520f Rip out the snooper and consolidate statistics/knowledge yet again.
Nobody was using the snooper; not worth the bother to host it.
Instead, consolidate player statistics tracking for the achievement
system.  We can still use it for statistics collection, but users
would probably have to post world dumps for that.
2019-01-30 21:02:19 -05:00
Aaron Suen
968bbcfe8b Allow adding 1 to a stack.
This should make pack-exact-stack recipes a little easier.
2019-01-29 23:12:07 -05:00
Aaron Suen
4a69f64b7d Remove excess doc, fix lode cobble hand-diggability. 2019-01-29 23:07:00 -05:00
Aaron Suen
527449b299 Fix typo that made fire block sunlight. 2019-01-29 22:42:35 -05:00
Aaron Suen
ad94dddd20 Strip excess bark off ladder/frame textures. 2019-01-29 20:45:16 -05:00
Aaron Suen
2d3b468c65 Knock out a bunch of small low-hanging issues.
- Eggcorn cleanup.  They look a little better falling out of the
  tree, and we don't have so many now.
- Crushing damage fixes.  Crushing is nuanced now, and most things
  don't smush you, and many do reduced damage.  A few may do more.
- Item stack convenience.  Items landing on a stack or right-
  clicked onto one attempt to merge into it.
- Ladders now fall (they don't connect to sides).  Use the new
  full-scale frames for ones that don't.
2019-01-29 20:41:29 -05:00
Aaron Suen
5f4e99e1a7 Change the look of loose nodes.
Make it clear that they're separated from neighbors by dark
border, instead of just looking a littler "sandier".
2019-01-28 23:40:44 -05:00
Aaron Suen
4b81948533 Typo. 2019-01-28 23:15:40 -05:00
Aaron Suen
0004d4aaf1 New version numbering scheme, updated plans. 2019-01-28 23:13:21 -05:00
Aaron Suen
37f5c0a0de Laid the groundwork for metal-working.
- Defined nodes, slabs, and prills of lode.
- Heating lode ore releases hot lode prills.
- Lode things in stack can air-cool to anneal or water-quench to
  harden/temper.  Cooling of placed nodes/slabs is planned.
- Hot items cannot be carried; picking them up causes damage and
  causes player to drop them.
2019-01-27 22:34:53 -05:00
Aaron Suen
a0602d52b4 Start defining metal materials. 2019-01-27 09:19:07 -05:00
Aaron Suen
e4ccf2df78 An annoyance. 2019-01-27 02:15:46 -05:00
Aaron Suen
cc793cdbb5 Item stack rotation tweaks.
- Random initial rotation.

- When stackable items represent a complete full stack, rotate
  about 1/3 as fast as normal.  This subtle cue helps organizing
  storage by finding available space, but you still need to pick
  up the stack if you want an EXACT count.
2019-01-27 01:40:39 -05:00
Aaron Suen
f1247827b3 Remove yet more debugging code. 2019-01-26 23:02:10 -05:00
Aaron Suen
258da379be Reduce excess particles. 2019-01-26 23:01:34 -05:00
Aaron Suen
7f539d82ec New pummel particles (they look like digging particles!) 2019-01-26 23:00:03 -05:00
Aaron Suen
128181cd7d Put version, copyright and support/contact info in inventory.
This is the only UI in NodeCore, so best make it useful.
2019-01-26 22:17:36 -05:00
Aaron Suen
f7acdfaa99 Tool-tip high-contrast colors. 2019-01-26 20:52:16 -05:00
Aaron Suen
e3028a8971 Simplify opt-out. 2019-01-26 20:28:00 -05:00
Aaron Suen
4732010c83 Reduce HTTP traffic to a very quiet level. 2019-01-26 18:52:51 -05:00
Aaron Suen
1dbdc6c7bf Fix a player name anonymization leak. 2019-01-26 18:51:58 -05:00
Aaron Suen
d3d13876b9 Update plans again, now that snooper is done. 2019-01-26 18:42:56 -05:00
Aaron Suen
66ebbd790a Fix http submission, and enable nag message. 2019-01-26 18:33:21 -05:00
Aaron Suen
4a1a57cd7b Work on survey system.
- Now collecting all stats I want for first version, including
  player idle and moving times, to track player's actual
  engagement.

- Started working on report submission system.  Unfortunately so
  far I haven't been able to figure out how to get http enabled.
2019-01-26 18:09:08 -05:00
Aaron Suen
e4dc398b3a Start work on usage survey.
- Refactor player knowledge into player mod, to declutter API.
- Move player knowledge into mod storage so players don't need to
  be connected to access.  Old knowledge will be reset, but I
  doubt there was very much of it to lose.
- Start gathering some basic stats.
  - Main glaring omission is player moving and idle time.
2019-01-26 16:39:07 -05:00
Aaron Suen
8a7dbfe255 Remove debug code. 2019-01-26 16:18:21 -05:00
Aaron Suen
bfad55456c Allow single-item loose stacks again.
Thrown single nodes placing themselves and then requiring the
proper tool to dig again was getting too annoying.
2019-01-26 16:14:01 -05:00
Aaron Suen
8b8c20ec03 Add falling node hazards.
- Nodes that are falling do damage to those near to them from
  crushing and/or friction.
- Player activity can cause falling nodes left in precarious
  positions by mapgen to fall randomly.
2019-01-26 13:58:35 -05:00
Aaron Suen
643f5e4e69 Update roadmaps/plans, more detail around metallurgy. 2019-01-26 13:58:18 -05:00
Aaron Suen
169f226ba7 Punch item entities to jar them loose if they get "stuck". 2019-01-26 12:50:06 -05:00
Aaron Suen
a7d7aefc5c Add ladders.
Can construct simply using a stack of sticks.  Makes it possible to
maintainably tunnel upwards to bring in sunlight for indoor light
for shallow builds, and provides a safe walking surface above.

Also:
- Fixed recipe rotation to include normal check.
2019-01-26 12:28:52 -05:00
Aaron Suen
739ad29acc Be a little more forgiving on tool wear for stonifying wood tools.
Allow up to 2% wear.  Sometimes you're diggng with a stone tool and
the tip breaks off and you don't notice (there's no sound yet),
so you accidentally dig a little with the wood tool and get it a
little dirty.  Let's be a little forgiving, and allow the stone
tip applicaton to also apply a little "repair" to the underlying
wood tool.
2019-01-26 11:39:55 -05:00
Aaron Suen
ffac1253d7 Remove debug code. 2019-01-25 09:31:40 -05:00
Aaron Suen
fcb8463953 Stone-tipped tools.
- Add a bit of stone to the tip of a wooden tool to harden it.
- Stone tools wear back down to their wooden originals.
- Stone tools dig faster, but wear quickly, so you need to pay
  attention to wear levels and carry spare stone tips.

Also:
- Nerfed mining speeds again, but made higher-tier tools much
  faster relative to lower.
- Nerfed tool durability as well.

Also:
- Standardized item ejection logic.
2019-01-25 09:26:15 -05:00
Aaron Suen
c6f1c10604 Eject inventory on death, bias ejection upwards. 2019-01-25 01:23:44 -05:00
Aaron Suen
4bf1f7ae85 Remove the cheat tool again. 2019-01-25 01:17:08 -05:00
Aaron Suen
d70c20cd3b Item stacking refinements.
Try to place items into existing stacks when searching for a
settling location.

Try to launch items from reasonable corners of a source node in
item_eject so they don't self-collide and end up in one pile.
2019-01-25 01:15:14 -05:00
Aaron Suen
5c876fc506 Fix repacking when holding item stacks 2019-01-25 00:54:11 -05:00
Aaron Suen
5fe1fe0c29 Fix crash on log splitting. 2019-01-25 00:27:49 -05:00
Aaron Suen
89eed21f14 Don't define "up-level dig times".
For now this is a stopgap to make sure that things aren't diggable
now that we want not to be.

This whole group level thing is kind of a mess.  We will probably
have to switch to a strategy of using fewer levels and more
different groups in the long run.  Based on the feedback I've been
getting in the MT Discord, it sounds like the number of tiers may
not be very flexible.
2019-01-25 00:17:47 -05:00
Aaron Suen
83481827f9 Break loose cobble into stone chips.
- Chip apart loose cobble with a pick.
- Hammer stones back together with a mallet.
- Repacking with mallets now wears tool.
2019-01-25 00:12:29 -05:00
Aaron Suen
375ed437d0 Significantly incrase item settling distance. 2019-01-24 23:34:08 -05:00
Aaron Suen
b6a83b2791 Pummel API overhaul.
- Make check/resolve functions naturally paired instead of having
  to test the "check" value, so we can use the "check" value for
  more specific parameter stuff.
- Make existing pummel logic use a standard tool speed check.
2019-01-24 23:16:12 -05:00
Aaron Suen
ee7dda9b4c Dig time. 2019-01-24 22:12:19 -05:00
Aaron Suen
8e47b687d0 TOOL CAPABILITIES / LEVELS OVERHAUL
Try to standardize the way we handle tools, materials, digtimes.
- Levels start at 1 and work upwards.
  - Level 1 is for "hand" or "primitive" tools.
  - Levels 2+ are wood, stone, metal, etc.
- Link dig times, tool levels, and durability together.
- Material groups now define standard "base dig times" which
  are the main thing that makes e.g. stone harder to dig than dirt.

The speed of digging almost everything will probably have changed,
in some cases not for the better; much testing will be needed.
2019-01-24 22:08:05 -05:00
Aaron Suen
7080270e56 Fully rename iron to lode.
Also refactored API to handle simple aliasing on rename
automatically, and allow registration intercept for non-node
item defs too.
2019-01-24 20:45:14 -05:00
Aaron Suen
aa69bca2b1 Fix fire not going out when completely immersed. 2019-01-23 23:16:03 -05:00
Aaron Suen
d61b50bf91 Lava starts fires, water douses them. 2019-01-23 23:06:06 -05:00
Aaron Suen
ea35dce6cd Make gravel more common, make cobble show infused material more. 2019-01-23 22:47:00 -05:00