repaired 2 bug, and modified textures. by IFRFSX.
25
README.md
|
@ -1,4 +1,4 @@
|
|||
# Maidroid
|
||||
# BingFeng-Maidroid
|
||||
|
||||
<img src=http://i.imgur.com/oWjrLtK.png>
|
||||
|
||||
|
@ -114,15 +114,30 @@ jmp start
|
|||
|
||||
## Requirements
|
||||
|
||||
- Minetest v0.4.14 or later
|
||||
- Minetest v0.4.14 or later(use without farming_redo mod of new version).
|
||||
- Minetest v5.0.1 or later(use with farming_redo mod of new version).
|
||||
|
||||
## Forum Topic
|
||||
|
||||
The forum topic for this mod on the Minetest Forums is located at:
|
||||
The forum topic for **this version** mod on the Minetest Forum is localted at:
|
||||
|
||||
- https://forum.minetest.net/viewtopic.php?f=9&t=14808
|
||||
- [Minetest Forum](https://forum.minetest.net/viewtopic.php?f=9&t=25523)
|
||||
|
||||
## License
|
||||
The forum topic for **old version** mod on the Minetest Forums is located at:
|
||||
|
||||
- [Minetest Forum](https://forum.minetest.net/viewtopic.php?f=9&t=14808)
|
||||
|
||||
## Github Page
|
||||
|
||||
+ [This Version](https://github.com/IFRFSX/bingfeng-maidroid "Github")
|
||||
+ [tacigar's Origin Version](https://github.com/tacigar/maidroid "Github")
|
||||
+ [thePlasm's Version](https://github.com/thePlasm/maidroid "Github")
|
||||
|
||||
## Author and License
|
||||
|
||||
The bingfeng-maidroid, by IFRFSX, based on tacigar and thePlasm's Version.
|
||||
|
||||
The License("GNU LGPL v2.1" and "CC BY-SA 4.0") is not upgraded.
|
||||
|
||||
- The source code of Maidroid is available under the [LGPLv2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt) or later license.
|
||||
- The resouces included in Maidroid are available under the [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) or later license.
|
||||
|
|
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 651 B After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 17 KiB |
|
@ -1,4 +1,16 @@
|
|||
------------------------------------------------------------
|
||||
-- This Modpack is based on maidroid of
|
||||
-- tacigar and thePlasm's Version,
|
||||
-- Modified version by:
|
||||
-- IFRFSX(BingFengFSX)<IFRFSX@protonmail.com>
|
||||
-- at 2020 years.
|
||||
-- Copyright (c) 2020 IFRFSX.
|
||||
-- Modified's Content:
|
||||
-- 1. repair farming.lua's bug of get plants name error.
|
||||
-- 2. repair basic.lua and torcher.lua's bug
|
||||
-- of follow other player.
|
||||
-- 3. modified textures.
|
||||
------------------------------------------------------------
|
||||
-- Copyright (c) 2016 tacigar. All rights reserved.
|
||||
-- https://github.com/tacigar/maidroid
|
||||
------------------------------------------------------------
|
||||
|
@ -18,7 +30,9 @@ local function on_stop(self)
|
|||
end
|
||||
|
||||
local function on_step(self, dtime)
|
||||
local player = self:get_nearest_player(10)
|
||||
local player = minetest.get_player_by_name(self.owner_name)
|
||||
--[[ [IFRFSX] replace self:get_nearest_player(10) to minetest.get_player_by_name(self.owner_name), repair bug.
|
||||
--]]
|
||||
if player == nil then
|
||||
self:set_animation(maidroid.animation_frames.STAND)
|
||||
return
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
------------------------------------------------------------
|
||||
-- This Modpack is based on maidroid of
|
||||
-- tacigar and thePlasm's Version,
|
||||
-- Modified version by:
|
||||
-- IFRFSX(BingFengFSX)<IFRFSX@protonmail.com>
|
||||
-- at 2020 years.
|
||||
-- Copyright (c) 2020 IFRFSX.
|
||||
-- Modified's Content:
|
||||
-- 1. repair farming.lua's bug of get plants name error.
|
||||
-- 2. repair basic.lua and torcher.lua's bug
|
||||
-- of follow other player.
|
||||
-- 3. modified textures.
|
||||
------------------------------------------------------------
|
||||
-- Copyright (c) 2016 tacigar. All rights reserved.
|
||||
-- https://github.com/tacigar/maidroid
|
||||
------------------------------------------------------------
|
||||
|
@ -21,8 +33,15 @@ else
|
|||
local n = 0
|
||||
for k, v in pairs(farming.registered_plants) do
|
||||
n = n + 1
|
||||
local plant = k .. "_" .. v.steps
|
||||
local plant = v.crop .. "_" .. v.steps
|
||||
target_plants[n] = plant
|
||||
--[IFRFSX]replace k to v.crop,this is plant's real name.
|
||||
--[[ [IFRFSX]用来调试的代码:
|
||||
minetest.log(plant .. "名字前端是" .. k)
|
||||
for i1,i2 in pairs(v) do
|
||||
minetest.log(i1 .. "==" .. i2)
|
||||
end
|
||||
--]]
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -261,7 +280,8 @@ end
|
|||
local get_plantname = function(itemname)
|
||||
for k, v in pairs(farming.registered_plants) do
|
||||
if v.seed == itemname then
|
||||
return k .. "_1"
|
||||
--[IFRFSX]replace k to v.crop.
|
||||
return v.crop .. "_1"
|
||||
end
|
||||
end
|
||||
return itemname
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
------------------------------------------------------------
|
||||
-- This Modpack is based on maidroid of
|
||||
-- tacigar and thePlasm's Version,
|
||||
-- Modified version by:
|
||||
-- IFRFSX(BingFengFSX)<IFRFSX@protonmail.com>
|
||||
-- at 2020 years.
|
||||
-- Copyright (c) 2020 IFRFSX.
|
||||
-- Modified's Content:
|
||||
-- 1. repair farming.lua's bug of get plants name error.
|
||||
-- 2. repair basic.lua and torcher.lua's bug
|
||||
-- of follow other player.
|
||||
-- 3. modified textures.
|
||||
------------------------------------------------------------
|
||||
-- Copyright (c) 2016 tacigar. All rights reserved.
|
||||
-- https://github.com/tacigar/maidroid
|
||||
------------------------------------------------------------
|
||||
|
@ -61,7 +73,9 @@ local function on_step(self, dtime)
|
|||
end
|
||||
end
|
||||
|
||||
local player = self:get_nearest_player(10)
|
||||
local player = minetest.get_player_by_name(self.owner_name)
|
||||
--[[ [IFRFSX] replace self:get_nearest_player(10) to minetest.get_player_by_name(self.owner_name), repair bug.
|
||||
--]]
|
||||
if player == nil then
|
||||
self:set_animation(maidroid.animation_frames.STAND)
|
||||
return
|
||||
|
|
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 901 B |
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 996 B After Width: | Height: | Size: 1.2 KiB |