Replaced chest with bookshelf in NPC villages

master
Solebull 2018-12-29 01:57:54 +01:00
parent 8944e01aa2
commit 7de0e81e58
3 changed files with 12 additions and 8 deletions

13
ROADMAP
View File

@ -144,6 +144,7 @@ It's really fast. May be used on a website, to show the actual map.
**** pvp shoudld be a privillege
- So we can revoke it to some players
**** TODO Continue to test factions and NPC mod
CLOCK: [2018-12-29 sam. 01:34]--[2018-12-29 sam. 01:57] => 0:23
CLOCK: [2018-12-24 lun. 01:04]--[2018-12-24 lun. 01:12] => 0:08
CLOCK: [2018-12-24 lun. 00:51]--[2018-12-24 lun. 00:52] => 0:01
CLOCK: [2018-12-23 dim. 18:16]--[2018-12-23 dim. 18:40] => 0:24
@ -185,17 +186,17 @@ It's really fast. May be used on a website, to show the actual map.
- [X] modified mg_villages.ENABLE_PROTECTION from true to false
Doen't work anymore. We don't want anymore to protect villages
disable it
- [ ] We can't open doors when created by another player
Maybe completely remove doors/ mod
- [ ] Even with protection, we can take what's in villagers' chests
Try to add them as protected chest
- [ ] Too much stuff in NPC villages
- [ ] Maybe try to use replacement to replace chest with something else
- [X] Too much stuff in NPC villages
- [X] Maybe try to use replacement to replace chest with something else
How to change that
Try to edit mts files in mods/mg_villages/schems/
These are schematics files sued with worldedit : not really usable
Changing it from code could be easier
- maybe see handle_schematics/build_chest
- [X] Even with protection, we can take what's in villagers' chests
Try to add them as protected chest
- [ ] We can't open doors when created by another player
Maybe completely remove doors/ mod
- [ ] Faction chest must be for faction only (no parcel needed)

3
TODO
View File

@ -11,7 +11,8 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt.
* v0.0.1-3 (17 Dec. 2018 - ???)
- (8) Implemented /list command
- (9) Replaced chest with bookshelf in NPC villages
- Implemented /list command
- Add a nether mod
- Deactivated playereffects autosave
- Add the areas mod

View File

@ -355,7 +355,9 @@ mg_villages.get_replacement_list = function( housetype, pr )
-- else some grass would never (re)grow (if it's below a roof)
-- table.insert( replacements, {'default:dirt', dirt_with_grass_replacement });
-- table.insert( replacements, {'default:dirt_with_grass', dirt_with_grass_replacement });
table.insert( replacements, {'default:dirt', 'default:dirt_with_grass' });
table.insert( replacements, {'default:dirt', 'default:dirt_with_grass' });
-- Remove all chest in PNJ villages
table.insert( replacements, {'default:chest', 'default:bookshelf' });
-- realtest lacks quite a lot from default
if( mg_villages.realtest_trees ) then