Effect table?
Effect table?
Can i use regular php coding in the effect table (ingame)? i tried the IF and ELSE command and it doesn't work. what type of commands can i use in the effect table?
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: Effect table?
effect table? And the action / conditions are full PHP code.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
Re: Effect table?
The effect table is locate under the works module. I notice I can use echo but can I use the full php code?
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: Effect table?
Code: Select all
create table works(
id integer unsigned primary key,
name varchar(80),
description text,
requirements text,
display_condition text,
duration integer unsigned default '3600',
effect text
) ENGINE InnoDB, CHARACTER SET utf8, COLLATE utf8_bin;
And yes, whatever PHP code you put there will work.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer