Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / items / HarpyTincture.as
blob97289fc94d8031fc20711aeea50bd88b46f352f1
1 package org.sevenchan.dongs.items
3 import org.sevenchan.dongs.Creature;
4 import org.sevenchan.dongs.creature.Demon;
5 import org.sevenchan.dongs.creature.Harpy;
6 import org.sevenchan.dongs.Item;
7 import org.sevenchan.dongs.screens.InfoScreen;
9 /**
10 * ...
11 * @author Harbinger
13 public class HarpyTincture extends Item
16 public function HarpyTincture(num:uint=0)
18 super(num);
19 this.descr = "A bottle full of a clear liquid, with a feather suspended in it.";
20 this.name = "Harpy Tincture";
21 this.id = 2;
22 this.value = 50;
25 override public function copy():Item
27 return new HarpyTincture(amount);
30 override public function Use(host:Creature):Boolean
32 InfoScreen.push("<h2>Use Harpy Tincture</h2><p>You sprout two "+(host is Demon ? "black":"brown")+" wings from your back.</p>");
33 if(host is Demon) {
34 host.wings.push(BodyPartRegistry.harpy_dark_wing, BodyPartRegistry.harpy_dark_wing);
35 } else {
36 host.wings.push(BodyPartRegistry.harpy_wing, BodyPartRegistry.harpy_wing);
38 return true;