DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • May 23, 2019, 02:54:36 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Editing code help  (Read 2537 times)
0 Members and 1 Guest are viewing this topic.
Stonedale
Guest
« on: June 21, 2004, 11:57:04 AM »

Ok I took the dwarfs Tavern file and edited  so I could have two other bars in my town. I use the Dwarf one too but,I renamed it  edited two of the drinks so it was Ale,
Wiskey, and Scotch. then I altered the text  that you see when entering the tavern and  what they say whenyou buy it but, I never touched any of the other scripted.

I renamed everything that had to do with dtavern to flintspub, and I get this error Parse error: parse error, unexpected T_STRING in /home/stonedal/public_html/flintspub.php on line 30

I have gone over it a and over it since yesterday and I'm clueless as to why this won't work. Everything that had to do with calling on other files was untouched yet, I get the error. I don't understand I guess why it won't work when it should. Everything is the same as the other file but a few minor text changes.

I figured the best way to learn how to do this would be to play with the scripts to see how they function lol.

I attacked the file if anyone wouldn't mind finding my  mistake thanks.
« Last Edit: June 21, 2004, 12:00:45 PM by Stonedale » Logged
dvd871
Guest
« Reply #1 on: June 21, 2004, 12:36:55 PM »

Change this line:
Code:
output(" You think to your self " this man must have been importian ".`n");

to this:
Code:
output(" You think to your self \" this man must have been importian \".`n");
Logged
Stonedale
Guest
« Reply #2 on: June 21, 2004, 02:42:31 PM »

Thanks man worked perfectly. I also changes some cost and a few other things and it works good now. I'd post i but, it really hasn't changed much to call it a make over mod.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
142 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search