Goedalath Rock Clarification

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Goedalath Rock Clarification

#1 Post 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",
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Frumple
Sher'Tul Godslayer
Posts: 1517
Joined: Sat May 15, 2010 9:17 pm

Re: Goedalath Rock Clarification

#2 Post 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.

Post Reply