Compare commits
No commits in common. "f3d31ce761e2556b19e04c0ab99a4b76fbc559c4" and "47fabeaf87c30ee722f3c891f00beeba96bad34b" have entirely different histories.
f3d31ce761
...
47fabeaf87
14
README.md
14
README.md
|
@ -1,19 +1,9 @@
|
||||||
This is a Minetest mod than adds e-cigarettes.
|
This is a Minetest mod than adds e-cigarettes.
|
||||||
When used they give you an effect depending on the flavor (only 5 exist).
|
Currently, cigarettes only make your run faster for 190 seconds. This will be changed
|
||||||
|
in the very near future though. I plan on adding flavored eliquids which would give the player different effects.
|
||||||
Recipes:
|
|
||||||
|
|
||||||
E-Cigarette: https://forum.minetest.net/download/file.php?id=17731
|
|
||||||
E-Liquids: Place a steel_ingot in the middle bottom and one of these ingredients in the middle:
|
|
||||||
Speed - Obsidian Shard,
|
|
||||||
High Jump - Mese Crystal Fragment,
|
|
||||||
Low Grav - Diamond,
|
|
||||||
Anti-Grav - Diamond Block,
|
|
||||||
High Grav - Mese Crystal
|
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
default
|
default
|
||||||
electronics
|
|
||||||
playereffects
|
playereffects
|
||||||
|
|
||||||
Code and Textures License: CC0 (See LICENSE)
|
Code and Textures License: CC0 (See LICENSE)
|
||||||
|
|
BIN
happysmoking.png
BIN
happysmoking.png
Binary file not shown.
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 266 KiB |
12
init.lua
12
init.lua
|
@ -95,18 +95,6 @@ minetest.register_tool("ecigarettes:ecigarette_highgrav", {
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
--Special
|
|
||||||
minetest.register_tool("ecigarettes:ecigarette_flamable", {
|
|
||||||
description = "E-Cigarette [Flamable]",
|
|
||||||
inventory_image = "ecigarettes_ecigarette_flamable.png",
|
|
||||||
on_use = function(itemstack, player, pointed_thing)
|
|
||||||
local newpos = player:get_pos()
|
|
||||||
minetest.set_node(newpos, {name = "fire:fire"})
|
|
||||||
itemstack:replace("ecigarettes:ecigarette")
|
|
||||||
return itemstack
|
|
||||||
end
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craftitem("ecigarettes:ecigarette", {
|
minetest.register_craftitem("ecigarettes:ecigarette", {
|
||||||
description = "E-Cigarette",
|
description = "E-Cigarette",
|
||||||
inventory_image = "ecigarettes_ecigarette.png",
|
inventory_image = "ecigarettes_ecigarette.png",
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 344 B |
Binary file not shown.
Before Width: | Height: | Size: 348 B |
Loading…
Reference in New Issue