Compare commits

...

5 Commits

Author SHA1 Message Date
migdyn f3d31ce761 Add new eliquid items 2019-03-31 12:53:24 +00:00
migdyn 992ea5422b Add 5.0.0 compatibilty 2019-03-31 12:53:10 +00:00
migdyn 14f50c4ea6 Add new eliquid textures 2019-01-27 00:51:21 +00:00
migdyn 65f9ffff87 Slightly changed the README 2018-12-24 16:42:43 -05:00
migdyn a9a2529fbf Update README.md 2018-12-24 16:33:23 -05:00
6 changed files with 25 additions and 2 deletions

View File

@ -1,9 +1,19 @@
This is a Minetest mod than adds e-cigarettes.
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.
When used they give you an effect depending on the flavor (only 5 exist).
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
default
electronics
playereffects
Code and Textures License: CC0 (See LICENSE)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

@ -95,6 +95,18 @@ minetest.register_tool("ecigarettes:ecigarette_highgrav", {
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", {
description = "E-Cigarette",
inventory_image = "ecigarettes_ecigarette.png",

1
mod.conf Normal file
View File

@ -0,0 +1 @@
depends = electronics, default, playereffects

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B