Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //for war public system between followers and cathedral
- void dlg_WarFC(Critter& player, Critter@ npc, string@ text) // shows war points for fota vs cotc @lex pointsFOTA@ @lex pointsCOTC@
- {
- if(!IS_DIALOG_GENERATED(text))
- return;
- Map@ map = player.GetMap();
- if( !valid(map) )
- {
- player.Say( SAY_NETMSG, "Dialog error, blame random dev." );
- text = "DIALOG ERROR";
- return;
- }
- uint locId = map.GetLocation().Id;
- text = "$pointsFOTA" + GetGvar( GVAR_FOTA );
- text += "$pointsCOTC" + GetGvar( GVAR_COTC );
- text += "$pointsCRIS" + GetGvar( GVAR_CRIS );
- text += "$pointsDHAR" + GetGvar( GVAR_DHAR );
- text += "$pointsHUBO" + GetGvar( GVAR_HUBO );
- text += "$pointsMORM" + GetGvar( GVAR_MORM );
- text += "$pointsRENU" + GetGvar( GVAR_RENU );
- text += "$pointsREV" + GetGvar( GVAR_REV );
- text += "$faithpoints" + GetLLvar( locId, LLVAR_q_faithpoints );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement