Home
last modified time | relevance | path

Searched refs:Toucher (Results 1 – 25 of 107) sorted by relevance

12345

/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DHealth.vc38 bool TryPickup(EntityEx Toucher)
40 if (Toucher.bIsPlayer)
42 PrevHealth = Toucher.Health;
46 max = PlayerEx(Toucher.Player).GetMaxHealth();
48 if (Toucher.Player.Health >= max)
59 Toucher.Player.Health += Amount;
60 if (Toucher.Player.Health > max)
62 Toucher.Player.Health = max;
64 Toucher.Health = Toucher.Player.Health;
71 if (Toucher.GiveBody(Amount) || bAlwaysPickup)
H A DWeaponPiece.vc39 bool TryPickup(EntityEx Toucher)
45 for (Inv = Toucher.Inventory; Inv; Inv = Inv.Inventory)
56 Hold.AttachToOwner(Toucher);
68 PlayerEx(Toucher.Player).GiveAmmo(WeaponType.default.AmmoType1,
87 GiveQuest(Toucher);
99 if (!Toucher.FindInventory(WeaponType))
105 GivenWeapon.AttachToOwner(Toucher);
110 GiveQuest(Toucher);
150 void PlayPickupSound(EntityEx Toucher)
154 GivenWeapon.PlayPickupSound(Toucher);
[all …]
H A DFourthWeaponPiece.vc44 bool TryPickup(EntityEx Toucher)
63 PlayerEx(Toucher.Player).GiveAmmo(WeaponType.default.AmmoType2,
75 Toucher.FindInventory(FourthWeaponHolder));
79 Hold.AttachToOwner(Toucher);
91 PlayerEx(Toucher.Player).GiveAmmo(WeaponType.default.AmmoType2,
115 if (!Weapon(Toucher.FindInventory(WeaponType)))
118 if (!Wpn.TryPickup(Toucher))
125 PlayerEx(Toucher.Player).PendingWeapon = Wpn;
158 void PlayPickupSound(EntityEx Toucher)
163 Toucher.PlaySound('WeaponBuild', CHAN_BODY, 1.0, ATTN_NONE);
[all …]
H A DUpgradeStamina.vc34 bool TryPickup(EntityEx Toucher)
36 if (!Toucher.Player)
41 PlayerEx(Toucher.Player).Stamina += Amount;
42 if (PlayerEx(Toucher.Player).Stamina >= MaxAmount)
44 PlayerEx(Toucher.Player).Stamina = MaxAmount;
46 Toucher.GiveBody(-100);
H A DHexenWeapon.vc37 bool TryPickup(EntityEx Toucher)
39 if (!ClassIsChildOf(Toucher.Class, GetClassReplacement(WeaponClass)))
47 if (PlayerEx(Toucher.Player).GiveAmmo(AmmoType1, AmmoGive1))
51 if (PlayerEx(Toucher.Player).GiveAmmo(AmmoType2, AmmoGive2))
58 GiveQuest(Toucher);
64 return ::TryPickup(Toucher);
H A DHealthTraining.vc34 bool TryPickup(EntityEx Toucher)
36 if (::TryPickup(Toucher))
38 Toucher.GiveInventoryType(GunTraining);
40 Item.Amount = PlayerEx(Toucher.Player).Accuracy * 5 + 300;
41 if (!Item.TryPickup(Toucher))
H A DMapRevealer.vc35 bool TryPickup(EntityEx Toucher)
37 if (Toucher.bIsPlayer)
39 PlayerEx(Toucher.Player).AddRevealedMap();
41 GiveQuest(Toucher);
H A DUpgradeAccuracy.vc34 bool TryPickup(EntityEx Toucher)
36 if (!Toucher.Player || PlayerEx(Toucher.Player).Accuracy >= MaxAmount)
40 PlayerEx(Toucher.Player).Accuracy += Amount;
H A DInventory.vc223 if (!Toucher.bPickUp)
228 if (Toucher.Health <= 0)
230 // Toucher is dead
236 if (Toucher.bIsPlayer)
238 Toucher = EntityEx(Toucher.Player.MO);
241 if (!TryPickup(Toucher))
248 if (Toucher.bIsPlayer)
253 if (Toucher.bIsPlayer)
262 if (Toucher.bIsPlayer)
280 if (Toucher.Inventory && Toucher.Inventory.HandlePickup(self))
[all …]
H A DSlideshowStarter.vc34 bool TryPickup(EntityEx Toucher)
43 PlayerEx(Toucher.Player).ClientSlideshow1();
51 PlayerEx(Toucher.Player).ClientSlideshow2();
52 Toucher.GiveInventoryType(QuestItem17);
H A DCustomInventory.vc35 bool TryPickup(EntityEx Toucher)
38 bool IsOk = CallStateChain(Toucher, S);
41 IsOk = ::TryPickup(Toucher);
45 GiveQuest(Toucher);
H A DBackpackItem.vc93 Inventory CreateCopy(EntityEx Toucher)
105 Ammo AmmoItem = Ammo(Toucher.FindInventory(Cls));
109 AmmoItem.AttachToOwner(Toucher);
136 if (oldammo <= 0 && Toucher.Player)
138 PlayerEx(Toucher.Player).GotAmmo(AmmoItem);
142 Inventory Copy = ::CreateCopy(Toucher);
H A DAmmoFillup.vc34 bool TryPickup(EntityEx Toucher)
36 PlayerEx(Toucher.Player).GiveAmmo(ClipOfBullets, 0);
37 Inventory AmmoItem = Toucher.FindInventory(ClipOfBullets);
H A DPrisonPass.vc34 bool TryPickup(EntityEx Toucher)
36 ::TryPickup(Toucher);
38 Toucher);
H A DRaiseAlarm.vc34 bool TryPickup(EntityEx Toucher)
36 LineSpecialLevelInfo(Level).NoiseAlert(Toucher, Toucher);
H A DFakeInventory.vc52 bool TryPickup(EntityEx Toucher)
55 Args[2], Args[3], Args[4], NULL, 0, Toucher);
69 void DoPickupSpecial(EntityEx Toucher)
H A DOpenDoor222.vc34 bool TryPickup(EntityEx Toucher)
37 Toucher);
H A DHexenArmor.vc61 Inventory CreateCopy(EntityEx Toucher)
64 Copy.AddArmorToSlot(Toucher, Health, Amount);
90 bool AddArmorToSlot(EntityEx Toucher, int armortype, int amount)
H A DOpenDoor224.vc34 bool TryPickup(EntityEx Toucher)
37 Toucher);
H A DHealthFillup.vc34 bool TryPickup(EntityEx Toucher)
52 if (!Toucher.GiveBody(-Amount))
H A DWeaponGiver.vc35 bool TryPickup(EntityEx Toucher)
43 if (!Wpn.TryPickup(Toucher))
H A DCloseDoor222.vc34 bool TryPickup(EntityEx Toucher)
37 Toucher);
H A DHealthPickup.vc37 Inventory CreateCopy(EntityEx Toucher)
39 Inventory Copy = ::CreateCopy(Toucher);
H A DBasicArmorPickup.vc38 Inventory CreateCopy(EntityEx Toucher)
40 BasicArmorPickup Copy = BasicArmorPickup(::CreateCopy(Toucher));
H A DWeapon.vc153 bool TryPickup(EntityEx Toucher)
160 return ::TryPickup(Toucher);
195 Inventory CreateCopy(EntityEx Toucher)
197 Weapon Copy = Weapon(::CreateCopy(Toucher));
288 final Ammo AddAmmo(EntityEx Toucher, class<Ammo> AmmoType, int count)
301 Ammo AmmoItem = Ammo(Toucher.FindInventory(AmmoType));
305 AmmoItem.AttachToOwner(Toucher);

12345