SPANCLASSES!!!!!

This commit is contained in:
Firecage
2014-08-26 09:52:13 +02:00
parent a64217bafb
commit 6c7af5eb32
244 changed files with 1337 additions and 1336 deletions
+5 -5
View File
@@ -121,18 +121,18 @@
if (!multiplier) multiplier = 1
if (src.get_amount() < R.req_amount*multiplier)
if (R.req_amount*multiplier>1)
usr << "\red You haven't got enough [src] to build \the [R.req_amount*multiplier] [R.title]\s!"
usr << "<span class='danger'>You haven't got enough [src] to build \the [R.req_amount*multiplier] [R.title]\s!</span>"
else
usr << "\red You haven't got enough [src] to build \the [R.title]!"
usr << "<span class='danger'>You haven't got enough [src] to build \the [R.title]!</span>"
return
if (R.one_per_turf && (locate(R.result_type) in usr.loc))
usr << "\red There is another [R.title] here!"
usr << "<span class='danger'>There is another [R.title] here!</span>"
return
if (R.on_floor && !istype(usr.loc, /turf/simulated/floor))
usr << "\red \The [R.title] must be constructed on the floor!"
usr << "<span class='danger'>\The [R.title] must be constructed on the floor!</span>"
return
if (R.time)
usr << "\blue Building [R.title] ..."
usr << "<span class='notice'>Building [R.title] ...</span>"
if (!do_after(usr, R.time))
return
if (src.get_amount() < R.req_amount*multiplier)