Talk:In hardcore

From Kolmafia
Revision as of 14:18, 1 March 2010 by imported>Grotfang (moved Talk:In hardcore() to Talk:In hardcore)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This totally needs a better example.

Currently:

if(in_hardcore()) 
  {
  buy(3,$item[hot hi mein]);
  }

This will never work in real life. If you're in hardcore, you can't simply buy things like hi meins. I'd be inclined to just make it !in_hardcore(), but really it should be can_interact() for this example (which checks for ronin). The example should probably be something completely different. I'll replace it if I come up with something clean and simple. --Degrassi 13:05, 17 January 2008 (PST)