From a6f8c8c3a63a8acc96ba219a0b7dd8512ed59873 Mon Sep 17 00:00:00 2001 From: Solebull Date: Thu, 6 Jun 2019 19:26:13 +0200 Subject: [PATCH] Start the factions_ui mod --- ROADMAP | 52 ++++++++++++++++++++---------------- TODO | 3 ++- mods/factions_ui/depends.txt | 1 + mods/factions_ui/init.lua | 17 ++++++++++++ 4 files changed, 49 insertions(+), 24 deletions(-) create mode 100644 mods/factions_ui/depends.txt create mode 100644 mods/factions_ui/init.lua diff --git a/ROADMAP b/ROADMAP index 0931f3f..b7e8a16 100644 --- a/ROADMAP +++ b/ROADMAP @@ -196,6 +196,27 @@ It's really fast. May be used on a website, to show the actual map. - [X] Explain local changes - [X] Remove welcome message mod - [X] We should be able to create a hoe fom the right +- [ ] Replaced 3d_armor models with these ones https://github.com/stujones11/minetest-3d_armor/commit/be9579a36584d8fbb6eef13906c84d1917e1ea6a#diff-82fe182b46bc55c7f0b2cd18d0cf2f8f +- [ ] See that +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. +- [ ] Voir les ABMs (blocs actifs) +- see if weather is used (badly written) + see snowdrift a la place +- Ralentissement lié a la disparution des feuilles d'arbres ? "leaf decay" +- [ ] Doors are very slow whe we don't know them + Maube a protection mod +- [ ] Player solebull moved too fast; resetting position +- Remove NPC name due to NPC village +- [ ] See MobsRedo "cmi" (message bus) to give XP when the mob is killed - [ ] After a time, bones should disapears or enneies could take it - [ ] Deactivate allies dammage - [ ] The bed spawn doesn't work @@ -221,7 +242,13 @@ It's really fast. May be used on a website, to show the actual map. [mg_villages] ERROR: Did not find a suitable replacement for cottages:hatch_steel (suggested but inexistant: cottages:hatch_steel). Building: chateau_without_garden. [mg_villages] ERROR: Did not find a suitable replacement for cottages:barrel_lying (suggested but inexistant: cottages:barrel_lying). Building: chateau_without_garden. [mg_villages] ERROR: Did not find a suitable replacement for cottages:barrel (suggested but inexistant: cottages:barrel). Building: chateau_without_garden. -**** TODO [feature_Minetest0.5] Must test this with Minetest 0.5.0 +**** TODO [feature_FactionUI] Try to add a factions UI + CLOCK: [2019-06-06 jeu. 19:22]--[2019-06-06 jeu. 19:25] => 0:03 + see https://dev.minetest.net/formspec#Examples +- see in mods/3d_armor_stand/init.lua for an example +- [X] create factions_ui/ mod +- [ ] Should register new inventopry formspec +**** DONE [feature_Minetest0.5] Must test this with Minetest 0.5.0 CLOCK: [2019-02-27 mer. 16:55]--[2019-02-27 mer. 16:58] => 0:03 CLOCK: [2019-02-27 mer. 16:37]--[2019-02-27 mer. 16:48] => 0:11 CLOCK: [2019-02-27 mer. 15:53]--[2019-02-27 mer. 16:26] => 0:33 @@ -236,7 +263,7 @@ It's really fast. May be used on a website, to show the actual map. - [ ] Rebuild minetest with master - Don't forget to issue a *git pull* before - [ ] May also test with the stable-0.4 branch -**** TODO [fix_CollisionBox] New to-be-fixed bugs +**** DONE [fix_CollisionBox] New to-be-fixed bugs CLOCK: [2019-06-06 jeu. 18:49]--[2019-06-06 jeu. 18:55] => 0:06 CLOCK: [2019-05-30 jeu. 20:34]--[2019-05-30 jeu. 20:40] => 0:06 CLOCK: [2019-05-30 jeu. 19:38]--[2019-05-30 jeu. 20:08] => 0:30 @@ -250,27 +277,6 @@ It's really fast. May be used on a website, to show the actual map. - [X] see https://github.com/minetest/minetest_game/pull/1785/files - [X] Create a gitlab issue for this - [X] More tests -- [ ] Replaced 3d_armor models with these ones https://github.com/stujones11/minetest-3d_armor/commit/be9579a36584d8fbb6eef13906c84d1917e1ea6a#diff-82fe182b46bc55c7f0b2cd18d0cf2f8f -- [ ] See that -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -2019-04-09 19:38:22: WARNING[Server]: ScriptApiBase::objectrefGetOrCreate(): Pushing ObjectRef to removed/deactivated object, this is probably a bug. -- [ ] Voir les ABMs (blocs actifs) -- see if weather is used (badly written) - see snowdrift a la place -- Ralentissement lié a la disparution des feuilles d'arbres ? "leaf decay" -- [ ] Doors are very slow whe we don't know them - Maube a protection mod -- [ ] Player solebull moved too fast; resetting position -- Remove NPC name due to NPC village -- [ ] See MobsRedo "cmi" (message bus) to give XP when the mob is killed **** DONE [fix_SlowChestOpening] Fix the slow inventory issue #2 - [X] New texture pack Pixel Perfection - [X] Replaced welcome_popup with server_news diff --git a/TODO b/TODO index 7415eb8..5657c0c 100644 --- a/TODO +++ b/TODO @@ -11,6 +11,7 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt. * v0.0.2-6 (11 Mar. 2019 - ???) CLOC ???,??? -- (3) Finally closes #2 updating 3d_armor models +- (4) Start the factions_ui mod +- Finally closes #2 updating 3d_armor models - Changed character 3d model trying to fix #3 - Finally fixed slow inventory bug (gitlab issue #2) diff --git a/mods/factions_ui/depends.txt b/mods/factions_ui/depends.txt new file mode 100644 index 0000000..a726c61 --- /dev/null +++ b/mods/factions_ui/depends.txt @@ -0,0 +1 @@ +factions diff --git a/mods/factions_ui/init.lua b/mods/factions_ui/init.lua new file mode 100644 index 0000000..074673e --- /dev/null +++ b/mods/factions_ui/init.lua @@ -0,0 +1,17 @@ +-- Just an example formspec +local armor_stand_formspec = "size[8,7]" .. + default.gui_bg .. + default.gui_bg_img .. + default.gui_slots .. + default.get_hotbar_bg(0,3) .. + "list[current_name;armor_head;3,0.5;1,1;]" .. + "list[current_name;armor_torso;4,0.5;1,1;]" .. + "list[current_name;armor_legs;3,1.5;1,1;]" .. + "list[current_name;armor_feet;4,1.5;1,1;]" .. + "image[3,0.5;1,1;3d_armor_stand_head.png]" .. + "image[4,0.5;1,1;3d_armor_stand_torso.png]" .. + "image[3,1.5;1,1;3d_armor_stand_legs.png]" .. + "image[4,1.5;1,1;3d_armor_stand_feet.png]" .. + "list[current_player;main;0,3;8,1;]" .. + "list[current_player;main;0,4.25;8,3;8]" +