TreasureHunt: Custom description for gold bars.

shapetextures
Sven Eberhardt 2015-11-20 21:11:26 -05:00
parent b52686a6a7
commit a5f385768f
3 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,12 @@
#appendto GoldBar
public func Construction(...)
{
this.Description = Format("$SpecialGoldBarDesc$", MAX_GOLD_BARS);
return _inherited(...);
}
public func IsFoundryProduct() { return false; } // Don't let players produce them
func Entrance(container)

View File

@ -1,3 +1,4 @@
SpecialGoldBarDesc=Versteckter Schatz. Kannst du alle %d Goldbarren finden?
PlaneNoOil=Das Flugzeug braucht noch Treibstoff. Ich muss irgendwo Öl auftreiben.
Intro1=Autsch. Pyrit!

View File

@ -1,3 +1,4 @@
SpecialGoldBarDesc=Hidden treasure. Try to collect all %d hidden gold bars!
PlaneNoOil=The plane needs fuel. I must find oil somewhere.
Intro1=Ouch. Pyrit!