Add end portal buckets code and screenshot

This commit is contained in:
PrairieWind 2023-03-08 14:02:49 -07:00
parent 54ebfda498
commit 616150380e
4 changed files with 31 additions and 1 deletions

22
init.lua Normal file
View File

@ -0,0 +1,22 @@
local S = minetest.get_translator(minetest.get_current_modname())
minetest.override_item("mcl_portals:portal_end", {
liquidtype = "source",
liquid_alternative_flowing = "mcl_portals:portal_end",
liquid_alternative_source = "mcl_portals:portal_end",
liquid_renewable = false,
liquid_range = 0,
})
mcl_buckets.register_liquid({
bucketname = "mcl_end_portal_bucket:end_portal_bucket",
source_place = function(pos)
return "mcl_portals:portal_end"
end,
source_take = {"mcl_portals:portal_end"},
inventory_image = "mcl_end_portal_bucket_bucket.png",
name = S("Bucket of End Portal"),
londesc = S("This bucket contains end portal which can be placed."),
usagehelp = S("Place it to empty the bucket and place an end portal."),
tt_help = S("Used to place end portal."),
})

4
locale/template.txt Normal file
View File

@ -0,0 +1,4 @@
Bucket of End Portal=
This bucket contains end portal which can be placed.=
Place it to empty the bucket and place an end portal.=
Used to place end portal.=

View File

@ -1,3 +1,7 @@
name = mcl_end_portal_bucket
title = End Portal Buckets for MineClone 2
author = PrairieWind, FossFanatic
description = Adds an easy way to carry the end portal where ever you go in MineClone2.
depends = mcl_buckets
supported_games = mineclone2
unsupported_games = mineclone5

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 KiB