Now earning XPs for technic ores

master
Solebull 2018-12-31 03:06:03 +01:00
parent 516297af42
commit 631a844f2f
4 changed files with 42 additions and 3 deletions

27
ROADMAP
View File

@ -97,7 +97,7 @@ It's really fast. May be used on a website, to show the actual map.
- [X] Add a /list command to list connected players
- [ ] Bigger player inventory
**** TODO *New streamed test*
**** TODO New streamed test
CLOCK: [2018-12-21 ven. 02:39]--[2018-12-21 ven. 03:01] => 0:22
CLOCK: [2018-12-13 jeu. 15:01]--[2018-12-13 jeu. 15:30] => 0:29
@ -225,7 +225,29 @@ It's really fast. May be used on a website, to show the actual map.
**** Try mumble-link
- see https://github.com/chipgw/minetest-mumble-wrapper
*** v0.0.2
**** [feature_showLevel] Our own mod
**** TODO How to add more ores to xopro
CLOCK: [2018-12-31 lun. 01:45]--[2018-12-31 lun. 02:16] => 0:31
CLOCK: [2018-12-30 dim. 21:28]--[2018-12-30 dim. 21:48] => 0:20
*No XP when digging zinc and lead*
*zinc is from technic/ mod*
- [X] Try to find a zinc block to search his name
technic:mineral_lead in technic_worldgen/oregen.lua
- [X] List all technic ores
technic:mineral_uranium",
technic:mineral_chromium",
technic:mineral_zinc",
technic:mineral_zinc",
technic:mineral_lead",
technic:mineral_sulfur")
- [ ] Not sure for this one :
technic:mineral_diamond
- [ ] Add a technic.lua file in mods_suportados/
Copy this file from an existing one
- [ ] We're not gaining XP while killing monsters : for example slimes
**** DONE Our own mod
CLOCK: [2018-12-30 dim. 19:23]--[2018-12-30 dim. 20:51] => 1:28
CLOCK: [2018-12-30 dim. 18:06]--[2018-12-30 dim. 18:40] => 0:34
*xpro doesn't show total level ? Maybe write a show_level mod ?*
@ -236,7 +258,6 @@ It's really fast. May be used on a website, to show the actual map.
- [X] Find a way to permanently print the player's level
- [X] Multiplayer test
- [X] Now remove all errors
- [ ] No XP when digging zinc and lead
**** DONE Try an XP+levels mod
CLOCK: [2018-12-29 sam. 15:55]--[2018-12-29 sam. 16:17] => 0:22
*level 2 : not showing it! but a cool annoucement with novice etc...*

1
TODO
View File

@ -11,6 +11,7 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt.
* v0.0.1-4 (29 Dec. 2018 - ???) CLOC ???,???
- (4) Now earning XPs for technic ores
- show_level mod works
- Printed show_level first text
- Trying an XP/level mod

View File

@ -57,6 +57,7 @@ dofile(modpath.."/mods_suportados/3d_armor.lua")
dofile(modpath.."/mods_suportados/3d_armor_stand.lua")
dofile(modpath.."/mods_suportados/shields.lua")
dofile(modpath.."/mods_suportados/xdecor.lua")
dofile(modpath.."/mods_suportados/technic.lua")
notificar("OK")

View File

@ -0,0 +1,16 @@
-- Add support for technic's provided ores
if not minetest.get_modpath("technic") then return end
-- Register dignodes
for name,xp in pairs({
-- Minerals
["technic:mineral_uranium"] = 4,
["technic:mineral_chromium"] = 3,
["technic:mineral_zinc"] = 1,
["technic:mineral_lead"] = 1,
["technic:mineral_sulfur"] = 2,
}) do
xpro.register_on_dignode(name, xp)
end