CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.34k stars 4.14k forks source link

Cell phones don't require batteries #16634

Closed busterbogheart closed 6 years ago

busterbogheart commented 8 years ago

Given that they tell time and can be alarm clocks i feel like im cheating to use it.

Rivet-the-Zombie commented 8 years ago

Watches don't require batteries either, and they do both of those things.

busterbogheart commented 8 years ago

Yes add that to the bug too. IRL they are powered by something that runs out.

321nick commented 8 years ago

dont they run out after a very long time IRL, and in this slightly-futuristic setting it cant be too hard too assume the battery are slightly too moderately better, thus allowing long times for watches and etc too last, especially longer than most chars live?

illi-kun commented 8 years ago

See #676 for similar discussion about watches & batteries.

busterbogheart commented 8 years ago

I'll agree that watches last a long time (longer than an avg cata lifespan at least) but the topic was phones.

Shudokai commented 8 years ago

The phones in cata are just glorified pocket watches, they have the drawback of taking up space and weight already. And if you disassemble Phones, Watches and the like you actually get a few batteries, so they actually run off of something.

keyspace commented 7 years ago

Cell phones now have battery charges, although they don't drain.

This issue could possibly be addressed by editing cell_phone to be on/off (as flashlight, see data/json/items/tool/lighting.json) and cell_phone_flashlight (see data/json/items/tools.json).

keyspace commented 7 years ago

I've tried an implementation in a branch, all work so far in one commit. It kind-of-works, but is hackish in a few places. "turns_per_charge": 30000 doesn't work - the intent was for the phone to stay on for slightly longer than a day, but it drains ~ 80% of battery in 6 hours. (EDIT: Uh, my math was very flawed here.)

Could open a provisional [WIP] PR if desired.


P.S. It seems that for multiple-actions, adding iuse_actor is might be the preferred way (e.g. as in #11275). EDIT: Although I'd much prefer it to stay JSON-only, and make the phone "boot" after a delayed_transform.

raymoo commented 6 years ago

In real life, mechanical wrist watches are often "self-winding" by using the movement of the wearers wrist. They can last as long as the watch is in good condition and is worn regularly.

Xpyder commented 6 years ago

In real life, mechanical wrist watches are often "self-winding" by using the movement of the wearers wrist. They can last as long as the watch is in good condition and is worn regularly.

I assume the subtext here is that with enough tech advancements you could get a cell phone to power from the mechanical motion of your body.

The closest you would probably get would be a military grade battery charger that straps to your ankle for troops that spend a long time deep in territory where they can't be resupplied

Self winding watches are only achieved because of the extraordinarily small amount of power it takes to move the tiny parts (if they're made precisely enough) and because at your wrist the motion of your steps are greatly exaggerated and because you're staying with the same type of power (mechanical to mechanical) you can get a high efficiency with minimal parts (quarter flywheel, ratchet, spring, timing mechanism)

raymoo commented 6 years ago

The subtext was that it is fine for wrist watches to last indefinitely. I didn't mean to say anything about cell phones.

illi-kun commented 6 years ago

Pretty minor thing, I'm in mood to close this.