1
0
Fork 0
Commit Graph

3495 Commits (23f6cdb492827eee8033963cd90a5c92d5bf1316)

Author SHA1 Message Date
Emojigit 23f6cdb492 mcl_fences 2022-03-08 23:16:54 +01:00
Emojigit 7358ef40cc mcl_buckets 2022-03-08 23:16:54 +01:00
Emojigit 574ca21018 mcl_walls 2022-03-08 23:16:54 +01:00
Emojigit 2358a8be4f mcl_hoppers 2022-03-08 23:16:54 +01:00
Emojigit 7e94436cfb mcl_anvils 2022-03-08 23:16:54 +01:00
Emojigit 2932209f60 mcl_portals 2022-03-08 23:16:54 +01:00
Emojigit 15a4a1f31f mcl_bows 2022-03-08 23:16:54 +01:00
Emojigit 188dbfc6b9 mcl_throwing 2022-03-08 23:16:54 +01:00
Emojigit 3efeaf0fe2 mcl_cake 2022-03-08 23:16:54 +01:00
Emojigit c69cbe85fe mcl_jukebox 2022-03-08 23:16:54 +01:00
Emojigit fe309e802d mcl_heads 2022-03-08 23:16:54 +01:00
Emojigit 10b0a86c8e mcl_cauldrons 2022-03-08 23:16:54 +01:00
Emojigit bcfddc1b78 mcl_sponges 2022-03-08 23:16:54 +01:00
Emojigit d1d81d9cc7 mcl_maps 2022-03-08 23:16:54 +01:00
Emojigit 62e32d6fb2 mcl_brewing 2022-03-08 23:16:54 +01:00
Emojigit a1213f2465 mcl_signs 2022-03-08 23:16:54 +01:00
Emojigit f55e1f5a7d mcl_monster_eggs 2022-03-08 23:16:54 +01:00
Emojigit 8d220039b0 mcl_furnaces 2022-03-08 23:16:54 +01:00
Emojigit 50f9291469 mcl_tnt 2022-03-08 23:16:54 +01:00
Emojigit 7681ca8122 mcl_crafting_table 2022-03-08 23:16:54 +01:00
Emojigit 1dcac179e5 mcl_cocoas 2022-03-08 23:16:54 +01:00
Emojigit c5f6068a9d mclx_core 2022-03-08 23:16:54 +01:00
Emojigit 3e25d63881 mcl_mobspawners 2022-03-08 23:16:54 +01:00
Emojigit 32c102cf6d mcl_itemframes 2022-03-08 23:16:54 +01:00
Emojigit 087596ee27 mcl_clock 2022-03-08 23:16:54 +01:00
Emojigit 8b5946c603 mcl_armor_stand 2022-03-08 23:16:53 +01:00
Emojigit 41c2c1bb54 mclx_fences 2022-03-08 23:16:53 +01:00
Emojigit 48bd9259f6 mcl_compass 2022-03-08 23:16:53 +01:00
Emojigit 7efea28e55 mcl_torches 2022-03-08 23:16:53 +01:00
Emojigit 6677e7f590 screwdriver 2022-03-08 23:16:53 +01:00
Emojigit 4c0edaa3f7 mcl_farming 2022-03-08 23:16:53 +01:00
Emojigit 0228758559 (WIP) mcl_farming 2022-03-08 23:16:53 +01:00
Emojigit 03c7e6df8a add zh_TW translate to `mcl_beds` and `mcl_core` 2022-03-08 23:16:53 +01:00
AFCMS dfec4a5422 Revert "move barrels to mcl_chests"
This reverts commit a272322cb5.
2022-03-08 23:16:53 +01:00
AFCMS 1f000e760d move barrels to mcl_chests 2022-03-08 23:16:53 +01:00
AFCMS a7e234765e fix barrel top texture rotation 2022-03-08 23:16:53 +01:00
AFCMS 29e9f45b6e cleanup barrel TODO list 2022-03-08 23:16:53 +01:00
AFCMS 4a8f73dd10 rename `mcl_util.drop_items_container_get` to `drop_items_from_meta_container` 2022-03-08 23:16:53 +01:00
AFCMS 3c2182a677 add barrel tooltip help text 2022-03-08 23:16:53 +01:00
AFCMS 87fde16918 add doc description to barrels 2022-03-08 23:16:53 +01:00
AFCMS 3eb6753d92 fix broken tree placement 2022-03-08 23:16:53 +01:00
AFCMS 80bfb18d35 fixes 2022-03-08 23:16:53 +01:00
AFCMS 2d07f85697 add craft 2022-03-08 23:16:53 +01:00
AFCMS eeb288dca7 add barrel 2022-03-08 23:16:53 +01:00
kabou 77c893453f Reinstate nil check in on_place_bucket.
* Oops, nil checks on registered_node[name] were erroneously optimized
  away, risking crashes.  Reinstate those checks.
2022-03-08 23:16:52 +01:00
kabou e54502edd6 Add more local aliases for minetest.* namespace functions
* Add locals for
  - minetest.is_creative_enabled
  - minetest.is_protected
  - minetest.record_protection_violation
2022-02-20 20:24:55 +01:00
kabou 639bf936c5 Use alias for minetest.* namespace function call.
* Fix one missed minetest.get_node use in earlier commit.
2022-02-20 19:52:05 +01:00
kabou d2261426c3 Remove redundant variables in on_place_bucket.
The function on_place_bucket defined a couple of variables that were
used only once or in a redundant check.  After removal of the redundant
check in a previous commit, all use-once variables can now be substituted
with their assignment expressions.
2022-02-20 18:46:23 +01:00
kabou 88ce1e3662 Remove redundant logic.
The function on_place_bucket contains the following logic:
  if not a and not b then return x end
  if a then
    foo(a)
  elseif b then
    foo(b)
  else
    return x
  end

The "if not a and not b then .." is removed because the case is handled
by the else case later on.  This will allow some further simplifications.
2022-02-20 18:46:23 +01:00
kabou b3aed9d6b8 Use proper get_item_group accessor.
Instead of directly accessing the group table in node definitions, use
the proper minetest.get_item_group accessor to test for "cauldron"
group.
Also adds local alias get_item_group for the global minetest call.
2022-02-20 18:46:23 +01:00