Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/areas/area_burthorpe/scripts/death_cook.rs2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[opnpc1,death_cook]
// confirm mesanims, current are based off osrs + guessed for female
if(gender() = 0) {
if(gender() = ^gender_male) {
~chatplayer("<p,quiz>What's cooking, good looking?");
~chatnpc("<p,neutral>The stew for the servant's main meal.");
~chatplayer("<p,confused>Um...er...see you later.");
Expand Down
6 changes: 3 additions & 3 deletions scripts/player/scripts/damage.rs2
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ if (stat(hitpoints) = 0) {
}
if_close;
if ($amount > 0) {
damage(uid, 1, $amount);
damage(uid, ^hitmark_damage, $amount);
~human_hit_sound;
} else {
damage(uid, 0, 0);
damage(uid, ^hitmark_block, 0);
}

if (stat(hitpoints) = 0){
Expand All @@ -23,7 +23,7 @@ if (stat(hitpoints) = 0){
[proc,human_hit_sound]
def_int $rand;
def_synth $sound;
if (gender() = 0) {
if (gender() = ^gender_male) {
$rand = random(3);
switch_int($rand) {
case 0 : $sound = human_hit2;
Expand Down
4 changes: 2 additions & 2 deletions scripts/skill_agility/scripts/agility.rs2
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ sound_synth(stumble_loop, 10, 0);
facesquare($fall_face);
p_delay(1);
p_telejump($fail_coord);
damage(uid, 1, $damage);
if (gender() = 0) {
damage(uid, ^hitmark_damage, $damage);
if (gender() = ^gender_male) {
sound_synth(human_hit2, 1, 20);
} else {
sound_synth(female_hit2, 1, 20);
Expand Down
2 changes: 1 addition & 1 deletion scripts/skill_combat/scripts/poison.rs2
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def_synth $sound;
def_int $rand;
// not sure if this damage is supposed to be queued or not
damage(uid, ^hitmark_poison, $damage);
if (gender() = 0) {
if (gender() = ^gender_male) {
$rand = random(3);
switch_int($rand) {
case 0 : $sound = human_hit2;
Expand Down