Added a fancy yellow bed

master
Solebull 2018-09-10 11:48:59 +02:00
parent 0cc3bf2b70
commit 722b46a7b7
9 changed files with 66 additions and 5 deletions

View File

@ -4,6 +4,7 @@
** v0.1.0
*** v0.0.1
**** TODO Make some colored beds
CLOCK: [2018-09-10 lun. 11:12]--[2018-09-10 lun. 11:47] => 0:35
CLOCK: [2018-09-10 lun. 01:39]--[2018-09-10 lun. 01:41] => 0:02
CLOCK: [2018-09-09 dim. 23:56]--[2018-09-10 lun. 00:28] => 0:32
CLOCK: [2018-09-09 dim. 23:16]--[2018-09-09 dim. 23:56] => 0:40
@ -22,15 +23,15 @@
The bottom part is ugly, not the same yellow
- [X] Then, the fuel recipe. Simply add '_bottom' at the end of the bed's name
- [X] Iem in the hand is green (can't find beds_yellow) (wield image)
- [ ] Now create the fancy yellow bed
- [X] Now create the fancy yellow bed
- [ ] There is the wool color list in mods/wool
wool_orange.png
wool_black.png wool_dark_grey.png wool_pink.png
wool_blue.png wool_green.png wool_red.png
wool_brown.png wool_grey.png wool_violet.png
wool_cyan.png wool_magenta.png wool_white.png
wool_dark_green.png wool_orange.png wool_yellow.png
wool_dark_green.png
**** Improve Gameplay
CLOCK: [2018-09-06 jeu. 16:21]--[2018-09-06 jeu. 16:32] => 0:11

3
TODO
View File

@ -8,7 +8,8 @@ minetest-solebull - ??? - A PVP/faction game for minetest based on Cobalt.
=== ChangeLog ===
* v0.0.1 (4 Sep. 2018 - ???)
- (5) Fixed wield image for simple yellow bed
- (6) Added a fancy yellow bed
- Fixed wield image for simple yellow bed
- Implemented simple yellow bed
- Great multi test with Exaltion
- Added multiple mods to git

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1,5 +1,4 @@
-- Simple shaped bed
beds.register_bed("beds:bed_yellow", {
description = "Simple Yellow Bed",
inventory_image = "yellow_beds_bed.png",
@ -33,8 +32,68 @@ beds.register_bed("beds:bed_yellow", {
},
})
-- Fancy yellow bed
beds.register_bed("beds:fancy_bed_yellow", {
description = "Fancy Yellow Bed",
inventory_image = "yellow_beds_bed_fancy.png",
wield_image = "yellow_beds_bed_fancy.png",
tiles = {
bottom = {
"yellow_beds_bed_top1.png",
"default_wood.png",
"yellow_beds_bed_side1.png",
"yellow_beds_bed_side1.png^[transformFX",
"default_wood.png",
"yellow_beds_bed_foot.png",
},
top = {
"yellow_beds_bed_top2.png",
"default_wood.png",
"yellow_beds_bed_side2.png",
"yellow_beds_bed_side2.png^[transformFX",
"beds_bed_head.png",
"default_wood.png",
}
},
nodebox = {
bottom = {
{-0.5, -0.5, -0.5, -0.375, -0.065, -0.4375},
{0.375, -0.5, -0.5, 0.5, -0.065, -0.4375},
{-0.5, -0.375, -0.5, 0.5, -0.125, -0.4375},
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5},
},
top = {
{-0.5, -0.5, 0.4375, -0.375, 0.1875, 0.5},
{0.375, -0.5, 0.4375, 0.5, 0.1875, 0.5},
{-0.5, 0, 0.4375, 0.5, 0.125, 0.5},
{-0.5, -0.375, 0.4375, 0.5, -0.125, 0.5},
{-0.5, -0.375, -0.5, -0.4375, -0.125, 0.5},
{0.4375, -0.375, -0.5, 0.5, -0.125, 0.5},
{-0.4375, -0.3125, -0.5, 0.4375, -0.0625, 0.4375},
}
},
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
recipe = {
{"", "", "group:stick"},
{"wool:red", "wool:red", "wool:white"},
{"group:wood", "group:wood", "group:wood"},
},
})
-- Fuel
minetest.register_craft({
type = "fuel",
recipe = "beds:bed_yellow_bottom",
burntime = 12,
})
minetest.register_craft({
type = "fuel",
recipe = "beds:fancy_bed_yellow_bottom",
burntime = 12,
})