Legeal Bit: The Models and Textures are the property of Almost Human. (Grimrock 2) They can be used for this Game only.
1 - Add this line to your init.lua file: import "mod_assets/scripts/mushrooms.lua"
2 - Here are 3 Mushrooms you can use in your Mod(s) They are items that you can pick up. They are standard ATM, but you can add your own names, code to them eg:
Code: Select all
defineObject{
name = "mushroom_1",
baseObject = "base_item",
tags = { "forge_herb" },
components = {
{
class = "Model",
model = "mod_assets/mushrooms/mushroom_1.fbx",
},
{
class = "Item",
uiName = "Tangai Poisonus Mushroom",
gfxAtlas = "mod_assets/textures/mushrooms_1.tga",
gfxIndex = 2,
description = "An exotic tangai mushroom.",
weight = 0.2,
stackable = true,
},
{
class = "UsableItem",
onUseItem = function(self,champion)
playSound("consume_food")
champion:setCondition("poison")
hudPrint(champion:getName() .. " eats the tangai mushroom and is poisoned.")
return true
end,
},
},
}4 - Also the atlas texture file is included : mushrooms_1.dds
5 - My Dropbox Link: https://www.dropbox.com/sh/tx8r8dwlz9ibfj8/ppISEmYxel
File Name: Mushrooms.zip
Ok then enjoy
EDIT: Oh almost forgot. I am working on about 10 flower models. They will be items as well and would be good for potions, Quests etc... Will post them when I finished the all