From 41ddae922aeab4e86f72edbcdbfecb0fafbf2de7 Mon Sep 17 00:00:00 2001 From: Der1248 <1248.kontakt@gmail.com> Date: Mon, 11 Jan 2021 13:55:11 +0100 Subject: [PATCH] Regnum 3.5.5 upload --- README.txt | 1 + mods/inventory_plus/inventory_plus/init.lua | 2 +- mods/mobs/api.lua | 8 +- mods/tutorial/init.lua | 2 +- mods/tutorial/other.lua | 165 ++++++++++---------- 5 files changed, 92 insertions(+), 86 deletions(-) diff --git a/README.txt b/README.txt index 76c86b3..20b735c 100644 --- a/README.txt +++ b/README.txt @@ -4,6 +4,7 @@ Thanks to: NightmareLP for building a mod et77 for great ideas wuschel1912 for testing +jumali for testing Info: 50 achievements to earn,11 differend monsters to hunt, diff --git a/mods/inventory_plus/inventory_plus/init.lua b/mods/inventory_plus/inventory_plus/init.lua index 11b6e0f..f9e7385 100644 --- a/mods/inventory_plus/inventory_plus/init.lua +++ b/mods/inventory_plus/inventory_plus/init.lua @@ -40,7 +40,7 @@ inven.get_formspec = function(player, pos) .."button[5,2;2,0.5;set;Music]" .."button[2,4;2,0.5;skins;Skins]" .."button[2,5.5;2,0.5;kri;Crystals]" - .."button[4,5.5;2,0.5;xpi0;Xp items]" + .."button[4,5.5;2,0.5;xpi0;Xp Items]" .."button[6,5.5;2,0.5;gem;Gems]" .."button[0,7;2,0.5;artifacts;Artifacts]" .."button[2,7;2,0.5;medallion;Medallion]" diff --git a/mods/mobs/api.lua b/mods/mobs/api.lua index 9439dff..db01953 100644 --- a/mods/mobs/api.lua +++ b/mods/mobs/api.lua @@ -932,7 +932,10 @@ function mob_class:do_env_damage() end local nodef = minetest.registered_nodes[self.standing_in] - + + if (pos) == nil then + return + end pos.y = pos.y + 1 -- for particle effect position -- water @@ -1693,6 +1696,9 @@ function mob_class:general_attack() end local s = self.object:get_pos() + if s == nil then + return + end local objs = minetest.get_objects_inside_radius(s, self.view_range) -- remove entities we aren't interested in diff --git a/mods/tutorial/init.lua b/mods/tutorial/init.lua index 82af37b..6ce494b 100644 --- a/mods/tutorial/init.lua +++ b/mods/tutorial/init.lua @@ -14,7 +14,7 @@ minetest.register_on_joinplayer(function(player) offset = {x=0, y=30}, alignment = {x=1, y=0}, number = 0xFFFFFF , - text = "Game Version : 3.5.4", + text = "Game Version : 3.5.5", }) end) diff --git a/mods/tutorial/other.lua b/mods/tutorial/other.lua index 702165f..b0e65c2 100644 --- a/mods/tutorial/other.lua +++ b/mods/tutorial/other.lua @@ -707,11 +707,11 @@ rg14.get_formspec = function(player, pos) .."listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]" .."bgcolor[#080808BB;true]" .."label[0,1;II. 5. Armor, Battleaxes & Guns]" - .."label[0,1.3;There are over 120 differend battleaxes, armors and guns]" + .."label[0,1.3;There are over 120 differend battleaxes, armors and guns.]" .."label[0,1.6;Here you can see witch kind of armor, battleaxe and gun you have to craft:]" .."label[0,1.9;(starter)]" .."label[0,2.2;mega lv.1-20]" - .."label[0,2.5;cloud lv.1-20]" + .."label[0,2.5;cloud lv.1-25]" .."label[0,2.8;super lv.1-4]" .."label[0,3.1;uranium lv.1-2]" .."label[0,3.4;energie lv.1-12]" @@ -725,14 +725,14 @@ rg14.get_formspec = function(player, pos) .."label[0,5.8;superlegendary]" .."label[0,6.1;regnum]" .."label[0,6.4;The legendary battleaxe (or higher) will double some ores if you dig them.]" - .."label[0,6.7;There are differend modes for some battleaxes, armors and guns]" - .."label[0,7.0;With battleaxe Mode 2 you can dig water and lava]" - .."label[0,7.3;With battleaxe Mode 3 you can only hunt monster]" - .."label[0,7.6;With armor Mode 2 you can run faster]" - .."label[0,7.9;With armor Mode 3 you can jump higher]" - .."label[0,8.2;With armor Mode 4 you can run faster and jump higher]" - .."label[0,8.5;With gun Mode 2 you can only make damage to monsters]" - .."label[0,8.8;With gun Mode 3 you will also add thunder]" + .."label[0,6.7;There are differend modes for some battleaxes, armors and guns.]" + .."label[0,7.0;With battleaxe Mode 2 you can dig water and lava.]" + .."label[0,7.3;With battleaxe Mode 3 you can only hunt monster.]" + .."label[0,7.6;With armor Mode 2 you can run faster.]" + .."label[0,7.9;With armor Mode 3 you can jump higher.]" + .."label[0,8.2;With armor Mode 4 you can run faster and jump higher.]" + .."label[0,8.5;With gun Mode 2 you can only make damage to monsters.]" + .."label[0,8.8;With gun Mode 3 you will also add thunder.]" .."label[0,9.1;For changing the mode of a tool (also Wallplacer and mining Drill),]" .."label[0,9.4;you have to press the right mouse and sneak (don't point at a node)]" .."button[2,10; 2,0.5;rg13;<]" @@ -833,12 +833,12 @@ rg11.get_formspec = function(player, pos) .."listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]" .."bgcolor[#080808BB;true]" .."label[0,1;II. 2. Mobs]" - .."label[0,1.3;There are monsters, animals and pets in Regnum]" - .."label[0,1.6;The monster will kill you, but can get wrapping paper and DNA strings or tears]" + .."label[0,1.3;There are monsters, animals and pets in Regnum.]" + .."label[0,1.6;The monster will kill you, but can get wrapping paper and DNA strings or tears.]" .."label[0,1.9;You can get water and sky animals from the dna gift.]" .."label[0,2.2;There are turtles, sharks, gulls and many other.]" .."label[0,2.5;If you use the DNA craft you can get pets.]" - .."label[0,2.8;The dog and the cat will kill monsters and collect the wrapping paper and DNA strings]" + .."label[0,2.8;The dog and the cat will kill monsters and collect the wrapping paper and DNA strings.]" .."label[0,3.1;The sheep will produce wool.]" .."label[0,3.4;The dagon will produce a dragon gift or a gem gift if you have a regnum crystal.]" .."label[0,3.7;The fox will produce a fox key and treasures.]" @@ -860,25 +860,25 @@ rg12.get_formspec = function(player, pos) .."listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]" .."bgcolor[#080808BB;true]" .."label[0,1;II. 3. Xp & Level]" - .."label[0,1.3;If you dig some things you can get Xp]" + .."label[0,1.3;If you dig some things you can get Xp.]" .."label[0,1.6;There are 6 differend kind of Xp:]" - .."label[0,1.9;green, red, blue, grey, yellow and cyan Xp.]" - .."label[0,2.2;If you dig uranium you will get 1 green Xp]" + .."label[0,1.9;green, red, blue, grey, yellow and cyan Xp]" + .."label[0,2.2;If you dig uranium you will get 1 green Xp.]" .."label[0,2.5;If you reach level green 100, you will get the lilabattleaxe.]" .."label[0,2.8;With it, you can dig red and blue ore.]" - .."label[0,3.1;From them you can get red and blue Xp]" + .."label[0,3.1;From them you can get red and blue Xp.]" .."label[0,3.4;If you reach level red/blue 20, you will get a red/blue xp block.]" - .."label[0,3.7;With them you can craft the xp block]" - .."label[0,4.0;From the xp block you will get grey xp.]" - .."label[0,4.3;If you reach level gray 100, you will get the xp block (yellow)]" - .."label[0,4.6;From the xp block (yellow) you will get yellow xp.]" - .."label[0,4.9;If you reach level yellow 100, you will get the goldenkey]" - .."label[0,5.2;With the goldenkey you can use the Crystal craft]" - .."label[0,5.5;From there you can get cristal bottles]" - .."label[0,5.8;If you reach level cyan 25, you have completed all levels]" - .."label[0,6.1;Look in the xp guide for your xp and how much xp you need.]" - .."label[0,6.4;If you reach a new level you will get a reward]" - .."label[0,6.7;Look in Xp items for the reward]" + .."label[0,3.7;With them you can craft the grey xp block.]" + .."label[0,4.0;From the grey xp block you will get grey xp.]" + .."label[0,4.3;If you reach level gray 100, you will get the yellow xp block.]" + .."label[0,4.6;From the yellow xp block you will get yellow xp.]" + .."label[0,4.9;If you reach level yellow 100, you will get the golden key.]" + .."label[0,5.2;With the golden key you can use the Crystal craft.]" + .."label[0,5.5;From there you can get cristal bottles.]" + .."label[0,5.8;If you reach level cyan 25, you have completed all levels.]" + .."label[0,6.1;Look in the 'Xp Guide' for your xp and how much xp you need.]" + .."label[0,6.4;If you reach a new level you will get a reward.]" + .."label[0,6.7;Look in 'Xp Items' for the reward.]" .."button[2,10; 2,0.5;rg11;<]" .."button[4,10; 2,0.5;rg13;>]" return formspec @@ -900,10 +900,10 @@ rg7.get_formspec = function(player, pos) .."label[0.2,1.9;Dig some ores to get an award.]" .."label[0.2,2.2;If you have all awards, you will get the 'all awards' achievement.]" .."label[0.0,2.5;b) Achievements]" - .."label[0.2,2.8;Here you can see your achievement]" + .."label[0.2,2.8;Here you can see your achievement.]" .."label[0.2,3.1;If you have all 50 achievements,]" - .."label[0.2,3.4;you will have all Regnum things and you have completed the Regnum Game]" - .."label[0.2,3.7;If you have 25 or 50 achivements you will get a reward]" + .."label[0.2,3.4;you will have all Regnum things and you have completed the Regnum game.]" + .."label[0.2,3.7;If you have 25 or 50 achivements you will get a reward.]" .."label[0.2,4.0;You will get spezial achievments for every aniversary.]" .."button[2,10; 2,0.5;rg6;<]" .."button[4,10; 2,0.5;rg8;>]" @@ -1160,27 +1160,27 @@ rg4.get_formspec = function(player, pos) .."bgcolor[#080808BB;true]" .."label[0,1;I. 2. Crafting]" .."label[0,1.3;There are 11 differend crafts:]" - .."label[0,1.6;The '4x4 craft' and 5x5 to craft in a 4x4 and 5x5 field]" - .."label[0,1.9;Look in the Craft Guide which item you can craft in 4x4 and 5x5]" - .."label[0,2.2;The Regnum craft to craft a pixeled regnum]" + .."label[0,1.6;The 4x4 craft and 5x5 craft to craft in a 4x4 and 5x5 field.]" + .."label[0,1.9;Look in the 'Craft Guide' which item you can craft in 4x4 and 5x5.]" + .."label[0,2.2;The Regnum craft to craft a pixeled regnum.]" .."label[0,2.5;You will need regnum pixels. (You can get them from Regnum gifts)]" - .."label[0,2.8;The DNA craft to get mobs and ??? monster spawn-egg]" - .."label[0,3.1;You will need dna strings for pets (You can get them from monsters) ]" + .."label[0,2.8;The DNA craft to get mobs and ??? monster spawn-egg.]" + .."label[0,3.1;You will need dna strings for pets (You can get them from monsters)]" .."label[0,3.4;and big dna for ???-monster spawn-egg. (You can craft them in the 5x5 craft)]" .."label[0,3.7;If you press 'Mob Position' you can see the positions of your pets.]" - .."label[0,4.0;The Gem craft to get magic gems]" - .."label[0,4.3;You will need gem fragments and uranium ingots]" - .."label[0,4.6;The Cooking craft, works like furnaces but with (regnum) uranium (every level) as fuel]" - .."label[0,4.9;If you have the Cookingkey you will get more fuel.]" + .."label[0,4.0;The Gem craft to get magic gems.]" + .."label[0,4.3;You will need gem fragments and (technic) uranium ingots.]" + .."label[0,4.6;The Cooking craft, works like furnaces but with (regnum) uranium (every level) as fuel.]" + .."label[0,4.9;If you have the cooking key you will get more fuel.]" .."label[0,5.2;The Mine craft to level your mining laser/drill up.]" .."label[0,5.5;You will need the mining laser/drill and green coins.]" - .."label[0,5.8;The Medallion craft to get medallions]" - .."label[0,6.1;You will need Medallion pieces.(You will get them if you run around)]" - .."label[0,6.4;The Crystal craft to get crystalbottles]" + .."label[0,5.8;The Medallion craft to get medallions.]" + .."label[0,6.1;You will need medallion pieces. (You will get them if you run around)]" + .."label[0,6.4;The Crystal craft to get crystalbottles.]" .."label[0,6.7;You have to wait 500s to get two crystallbottles.]" .."label[0,7.0;You will get one bottle more for each crystal you have]" .."label[0,7.3;and if you have a pixeled regnum key you only have to wait 250s.]" - .."label[0,7.6;The Trophy craft to get trophys]" + .."label[0,7.6;The Trophy craft to get trophys.]" .."label[0,7.9;You will need Tears. (You can get them from monsters spawned by the ??? monster spawn-egg)]" .."label[0,8.2;The Reverse craft to get your items back, if you craft the wrong one.]" .."label[0,8.5;You can only use some items.]" @@ -1201,13 +1201,13 @@ rg6.get_formspec = function(player, pos) .."bgcolor[#080808BB;true]" .."label[0,1;I. 4. Spezial]" .."label[0.0,1.3;a) Crystals]" - .."label[0.2,1.6;Here you can get legendary fire balls]" - .."label[0.2,1.9;If you dig a legendary gift you can get a legendary crystal]" - .."label[0.2,2.2;With every new cristal you get, get can get better fire balls]" - .."label[0.2,2.5;After some time you will get the fire ball]" - .."label[0.2,2.8;If you have a crystalkey,the time will be halved]" + .."label[0.2,1.6;Here you can get legendary fire balls.]" + .."label[0.2,1.9;If you dig a legendary gift you can get a legendary crystal.]" + .."label[0.2,2.2;With every new cristal you get, get can get better fire balls.]" + .."label[0.2,2.5;After some time you will get the fire ball.]" + .."label[0.2,2.8;The time will be halved, if you have a crystal key.]" .."label[0.0,3.1;b) Xp items]" - .."label[0.2,3.4;Here you can get your rewards if you reach a new level.]" + .."label[0.2,3.4;Here you can get your rewards, if you reach a new level.]" .."label[0.2,3.7;You will also get a block for every level.]" .."label[0.0,4.0;c) Gems]" .."label[0.2,4.3;You have to craft some magic gems in the gem craft.]" @@ -1230,17 +1230,17 @@ rg8.get_formspec = function(player, pos) .."bgcolor[#080808BB;true]" .."label[0,1;I. 6. Color items]" .."label[0.0,1.3;a) Artifacts]" - .."label[0.2,1.6;If you run around you will get artifacts]" - .."label[0.2,1.9;Collect 71 artifacts to get the Knightkey as a reward]" + .."label[0.2,1.6;If you run around you will get artifacts.]" + .."label[0.2,1.9;Collect 71 artifacts to get the knight key as a reward.]" .."label[0.0,2.2;b) Medallion]" - .."label[0.2,2.5;craft medallions in the medallion craft]" - .."label[0.2,2.8;Collect 7 medallions to get the Crystalkey as a reward]" + .."label[0.2,2.5;craft medallions in the medallion craft.]" + .."label[0.2,2.8;Collect 7 medallions to get the crystal key as a reward.]" .."label[0.0,3.1;c) Treasures]" - .."label[0.2,3.4;get treasures from the fox]" - .."label[0.2,3.7;Collect 6 treasures to get the legend stick as a reward]" + .."label[0.2,3.4;get treasures from the fox.]" + .."label[0.2,3.7;Collect 6 treasures to get the (broken) legend stick as a reward.]" .."label[0.0,4.0;d) Trophys]" - .."label[0.2,4.3;get trophys in the trophy craft]" - .."label[0.2,4.6;Collect 24 trothys to get the Protectionkey as a reward]" + .."label[0.2,4.3;get trophys in the trophy craft.]" + .."label[0.2,4.6;Collect 24 trothys to get the protection key as a reward.]" .."button[2,10; 2,0.5;rg7;<]" .."button[4,10; 2,0.5;rg9;>]" return formspec @@ -1258,8 +1258,7 @@ rg9.get_formspec = function(player, pos) .."bgcolor[#080808BB;true]" .."label[0,1;I. 7. Music]" .."label[0,1.3;Enable Background Music.]" - .."label[0,1.6;Choose Themes to be randomly selected]" - .."label[0,1.9;and listen to the Regnum Themes.]" + .."label[0,1.6;Choose Themes to be randomly selected and listen to the Regnum Themes.]" .."button[2,10; 2,0.5;rg8;<]" .."button[4,10; 2,0.5;rg10;>]" return formspec @@ -1309,25 +1308,25 @@ rg3.get_formspec = function(player, pos) .."bgcolor[#080808BB;true]" .."label[0,1;I. 1. Equipment]" .."label[0.0,1.3;a) Skins]" - .."label[0.2,1.6;Here you can change your skin]" - .."label[0.2,1.9;Click on one skin to change your skin]" - .."label[0.2,2.2;If you have the pixeled Regnum key you can use the see-through skin]" - .."label[0.2,2.5;If you have the knight Regnum key you can use the knight skins]" + .."label[0.2,1.6;Here you can change your skin.]" + .."label[0.2,1.9;Click on one skin to change your skin.]" + .."label[0.2,2.2;If you have the pixeled Regnum key you can use the see-through skin.]" + .."label[0.2,2.5;If you have the knight key you can use the knight skins.]" .."label[0.0,2.8;b) Bags]" .."label[0.2,3.1;You can use bags to take more things with you.]" .."label[0.2,3.4;You can have up to eight bags, every bag has eight level.]" - .."label[0.2,3.7;Craft a bag (look in the craft guide how).]" + .."label[0.2,3.7;Craft a bag (look in the 'Craft Guide' how).]" .."label[0.2,4.0;Put the bag in one of the fields and use the button below.]" .."label[0.2,4.3;You can put your items in the new inventory.]" .."label[0.2,4.6;Every level for a bag give you more space for it.]" - .."label[0.2,4.9;If you want more then four bags you need also a bagkey.]" - .."label[0.2,5.2;With each new Bagkey level you can get one more bag.]" + .."label[0.2,4.9;If you want more then four bags you need also a bag key.]" + .."label[0.2,5.2;With each new bag key level you can get one more bag.]" .."label[0.0,5.5;c) Armor]" - .."label[0.2,5.8;Craft some armor (look in the craft guide how).]" + .."label[0.2,5.8;Craft some armor (look in the 'Craft Guide' how).]" .."label[0.2,6.1;You can use armor to save you from monsters.]" - .."label[0.2,6.4;There are 5 differend armor parts.]" + .."label[0.2,6.4;There are 5 differend armor parts:]" .."label[0.2,6.7;Helmets, chestplates, leggings, boots and shields]" - .."label[0.2,7.0;If you have afull regnum armor you can't burn or drown.]" + .."label[0.2,7.0;If you have a full regnum armor you can't burn or drown.]" .."label[0.2,7.3;If you have the armor key you can make your armor invisible to other.]" .."label[0.2,7.6;If you have the protection key you will have a higher protection.]" .."button[2,10; 2,0.5;rg2;<]" @@ -1349,18 +1348,17 @@ rg5.get_formspec = function(player, pos) .."label[0.0,1.3;a) Regnum Guide]" .."label[0.2,1.6;You can read something about the Regnum Game :)]" .."label[0.0,1.9;b) Craft Guide]" - .."label[0.2,2.2;Here you can see how to craft items]" - .."label[0.2,2.5;Click on one item to see the crafting]" - .."label[0.2,2.8;You can also see 4x4 and 5x5 craftings,]" - .."label[0.2,3.1;You can see the craftings for battleaxes/armor/gun]" - .."label[0.2,3.4;in the Regnum Craft Guide.]" - .."label[0.0,3.7;c) Xp Guide]" - .."label[0.2,4.0;If you dig uranium (not from the technic mod), red ore, blue ore,]" - .."label[0.2,4.3;Xp block (grey), Xp Block (yellow) or you place a Crystalbottle, you will get xp.]" - .."label[0.2,4.6;There are 6 differend kinds of xp.]" - .."label[0.2,4.9;Use the Xp Guide to see how many xp you have]" - .."label[0.2,5.2;If you want to see how many xp you need for the next level]" - .."label[0.2,5.5;you will need the Xpkey]" + .."label[0.2,2.2;Here you can see how to craft items.]" + .."label[0.2,2.5;Click on one item to see the crafting.]" + .."label[0.2,2.8;You can also see 4x4 and 5x5 craftings.]" + .."label[0.2,3.1;You can see the craftings for battleaxes/armor/gun in the Regnum Craft Guide.]" + .."label[0.0,3.4;c) Xp Guide]" + .."label[0.2,3.7;If you dig uranium (not from the technic mod), red ore, blue ore,]" + .."label[0.2,4.0;Xp block (grey), Xp Block (yellow) or you place a Crystalbottle, you will get xp.]" + .."label[0.2,4.3;There are 6 differend kinds of xp.]" + .."label[0.2,4.6;You can see here how many xp you have.]" + .."label[0.2,4.9;If you want to see how many xp you need for the next level,]" + .."label[0.2,5.2;you will need the xp key.]" .."button[2,10; 2,0.5;rg4;<]" .."button[4,10; 2,0.5;rg6;>]" return formspec @@ -1379,11 +1377,12 @@ rg.get_formspec = function(player, pos) .."label[0,1;This is the first page of the Regnum guide.]" .."label[0,1.3;Here you can get some basic informations]" .."label[0,1.6;about my game: Regnum]" - .."label[0,1.9;I develop the Regnum game over the last 8 years]" + .."label[0,1.9;I develop the Regnum game over the last 8 years.]" .."label[0,2.2;Thanks to:]" .."label[0,2.5;NightmareLP who build a mod for my game]" .."label[0,2.8;et77 who had some great ideas]" .."label[0,3.1;wuschel1912 who tested the game]" + .."label[0,3.4;jumali who tested the game]" .."button[4,10;2,0.5;rg2;>]" return formspec end