Page 1 of 1

Goedalath Rock Clarification

Posted: Wed Jan 30, 2013 7:17 pm
by Hachem_Muche
Since this come up fairly frequently with new players, this artifact should probably have a warning when you pick it up:

Code: Select all

Index: game/modules/tome/data/general/objects/world-artifacts-far-east.lua
===================================================================
--- game/modules/tome/data/general/objects/world-artifacts-far-east.lua	(revision 6365)
+++ game/modules/tome/data/general/objects/world-artifacts-far-east.lua	(working copy)
@@ -163,6 +163,12 @@
 		on_melee_hit = {[DamageType.DARKNESS] = 34},
 		healing_factor = 0.5,
 	},
+	on_pickup = function(self, who)
+		if who == game.player then
+			game.logPlayer(who,"#VIOLET#The black stone seems to dim the world and sap your life force.#LAST#")
+		end
+	end,
 }
 
 newEntity{ base = "BASE_CLOAK",

Re: Goedalath Rock Clarification

Posted: Wed Jan 30, 2013 7:34 pm
by Frumple
Huh. Maybe something similar for the Egg sac? It doesn't seem to come up quite as often, but pop-ups for carried stuff with passive negatives sounds like a pretty good idea. Not sure what else, if anything, besides the Wozzname Rock and the Egg sac have that sort of thing, though.