• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Simple LUA help (Rep++)

Evan

A splendid one to behold
Senator
Premium User
Joined
May 6, 2009
Messages
7,019
Solutions
1
Reaction score
1,029
Location
United States
I got an amulet seller and I want it to sell stone skin amulet with 5 charges. I log on and buy one but it only sells it with 1 charge, anyone know how to fix this?

Code:
shopModule:addBuyableItem({'stone skin amulet'}, 2197, 3000, 5, 'stone skin amulet')
 
Hey,

Have you tried.

shopModule:addBuyableItem({'Stone skin amulet'}, 2197, 3000, 5, 'Stone skin amulet')

Repp me if i helped you.

Edit.. Use Stone skin amulet with a "capital" if that isnt working.. Make sure your items is edited. Like this

<item id="2197" article="a" name="Stone skin amulet">
<attribute key="weight" value="760"/>
<attribute key="slotType" value="necklace"/>
<attribute key="charges" value="5"/>
<attribute key="showcharges" value="1"/>
<attribute key="absorbPercentPhysical" value="80"/>
<attribute key="absorbPercentDeath" value="80"/>
<attribute key="showattributes" value="1"/>
 
There's really nothing wrong with it.

Code:
	<item id="2197" article="a" name="stone skin amulet">
		<attribute key="weight" value="760"/>
		<attribute key="slotType" value="necklace"/>
		<attribute key="charges" value="5"/>
		<attribute key="showcharges" value="1"/>
		<attribute key="absorbPercentPhysical" value="80"/>
		<attribute key="absorbPercentDeath" value="80"/>
		<attribute key="showattributes" value="1"/>
	</item>

I also capitalized it, nothing.
 
Yea, I had this problem also, with ammy's/rings, etc...
Hope it's fixed on 0.3.5 :thumbup:
 
Back
Top