Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r17: Wrong message when striking rod inside orb #38

Open
heasm66 opened this issue Aug 22, 2022 · 0 comments
Open

r17: Wrong message when striking rod inside orb #38

heasm66 opened this issue Aug 22, 2022 · 0 comments

Comments

@heasm66
Copy link

heasm66 commented Aug 22, 2022

When inside orb the message should be "The sphere rings with a hollow noise, but the rod charges up." instead. This never get printed because AfterRoutines is wrongly identified as BeforeRoutines by Reform (or Reform symbol-file). The routine "StrikeSub" should be:

[ StrikeSub ;
	if( noun notin player ) "But you aren't holding it.";
	if( noun hasnt rod_attr ) 
		print_ret "You ineffectually bash ", (the) noun, " on the ground.";
	if( noun has charged ) {
		deadflag = DIED;
		"The already-charged rod explodes with cataclysmic violence, burying everything nearby in rubble!";
	}
	give noun charged;
	Achieved(SCORE_WAND);
	if( AfterRoutines() == true ) {
		rtrue;
	}
	"The rod charges with etherial power, drawn up from the earth through ley lines...";
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant