if(!GetMainWielded() || !GetMainWielded()->CanBeUsedBySmith())
{
ADD_MESSAGE("\"Sorry, I need an intact hammer to practise the art of smithing.\"");
return;
}CanBeUsedBySmith is a script attribute used in item.dat, which is only true on warhammers, hammers, thunder hammers, and the gorovits family hammer.void veterankamikazedwarf::PostConstruct()
{
kamikazedwarf::PostConstruct();
ivantime Time;
game::GetTime(Time);
int Modifier = Time.Day - KAMIKAZE_INVISIBILITY_DAY_MIN;
if(Time.Day >= KAMIKAZE_INVISIBILITY_DAY_MAX
|| (Modifier > 0
&& RAND_N(KAMIKAZE_INVISIBILITY_DAY_MAX - KAMIKAZE_INVISIBILITY_DAY_MIN) < Modifier))
GainIntrinsic(INVISIBLE);
}KAMIKAZE_INVISIBILITY_DAY_MIN/MAX are both defined in balance.hSystem would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
truth coffin::Open(character* Opener)
{
if(!Opener->IsPlayer())
return false;
if(!game::TruthQuestion(
CONST_S("Disturbing the dead might not be wise... Continue? [y/N]")))
return false;
truth Success = olterraincontainer::Open(Opener);
if(Success)
{
game::DoEvilDeed(25);
for(int c = 0; c < RAND_N(10); ++c)
{
v2 Pos = GetLevel()->GetRandomSquare();
if(Pos != ERROR_V2)
GenerateGhost(GetLevel()->GetLSquare(Pos));
}
}
return Success;
}System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
truth olterraincontainer::Open(character* Opener)
{
if(!Opener->IsPlayer())
return false;
truth Success;
switch(game::KeyQuestion(CONST_S("Do you want to (t)ake something from or (p)ut something in this container? [t,p]"), KEY_ESC, 3, 't', 'p', KEY_ESC))
{
case 't':
case 'T':
Success = GetContained()->TakeSomethingFrom(Opener, GetName(DEFINITE));
break;
case 'p':
case 'P':
Success = GetContained()->PutSomethingIn(Opener, GetName(DEFINITE), GetStorageVolume(), 0);
break;
default:
return false;
}
if(Success)
Opener->DexterityAction(Opener->OpenMultiplier() * 5);
return Success;
}
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.